<p>When loaded mod kazoo i get error</p>
<pre><code>/ # kamailio -DD -E
 0(178) WARNING: <core> [core/cfg.y:3426]: warn_at(): warning in config file /etc/kamailio/default.cfg, line 67, column 12: raw socket support not compiled in
 0(178) ERROR: <core> [core/sr_module.c:582]: load_module(): could not open module </usr/lib/kamailio/modules/kazoo.so>: Error relocating /usr/lib/kamailio/modules/kazoo.so: is_error: symbol not found
 0(178) CRITICAL: <core> [core/cfg.y:3446]: yyerror_at(): parse error in config file /etc/kamailio/default.cfg, line 188, column 12-21: failed to load module
 0(178) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <kazoo> found
</code></pre>
<p>And ldd output</p>
<pre><code>/ # LD_PRELOAD=/usr/sbin/kamailio ldd /usr/lib/kamailio/modules/kazoo.so
        ldd (0x5592f5d09000)
        /usr/sbin/kamailio => /usr/sbin/kamailio (0x7fa6235bc000)
        libjson-c.so.4 => /usr/lib/libjson-c.so.4 (0x7fa6233ae000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x7fa6231a8000)
        librabbitmq.so.4 => /usr/lib/librabbitmq.so.4 (0x7fa622f8c000)
        libevent-2.1.so.6 => /usr/lib/libevent-2.1.so.6 (0x7fa622d42000)
        libsrdb1.so.1 => /usr/lib/kamailio//libsrdb1.so.1 (0x7fa622b21000)
        libc.musl-x86_64.so.1 => ldd (0x5592f5d09000)
        libssl.so.45 => /lib/libssl.so.45 (0x7fa6228d5000)
        libcrypto.so.43 => /lib/libcrypto.so.43 (0x7fa62252a000)
Error relocating /usr/lib/kamailio/modules/kazoo.so: is_error: symbol not found
/ # 
</code></pre>
<p>Symbol <code>is_error</code> is defined at <code>/usr/include/json-c/bits.h</code></p>
<pre><code>/**
 * @deprecated
 */
#define is_error(ptr) (ptr == NULL)
</code></pre>
<p>I not know why this simple definition is not compiled into mod kazoo on latest Alpine:edge.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1540">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZSKwSGO9fjtp1DeoirY50sQIc-qyks5t1AvzgaJpZM4UImPA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZZWn8JR0GUYjIdZfXftGNqEnodYMks5t1AvzgaJpZM4UImPA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/kamailio/kamailio/issues/1540","url":"https://github.com/kamailio/kamailio/issues/1540","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"mod kazoo cannot be loaded on latest alpine:edge (#1540)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1540"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "mod kazoo cannot be loaded on latest alpine:edge (#1540)",
"sections": [
{
"text": "",
"activityTitle": "**sergey-safarov**",
"activityImage": "https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png",
"activitySubtitle": "@sergey-safarov",
"facts": [
{
"name": "Repository: ",
"value": "kamailio/kamailio"
},
{
"name": "Issue #: ",
"value": 1540
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"kamailio/kamailio\",\n\"issueId\": 1540,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"kamailio/kamailio\",\n\"issueId\": 1540\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/kamailio/kamailio/issues/1540"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 337798080\n}"
}
],
"themeColor": "26292E"
}</script>