<p></p>
<p dir="auto">Also do not work on ubuntu. The strange thing is that it compiles and links with readline, but aparently its not working.</p>
<pre class="notranslate"><code class="notranslate">henning@app01~/repositories/kamailio/utils/kamcmd$ make clean
henning@app01~/repositories/kamailio/utils/kamcmd$ make msg

readline detected via pkg-config
command completion enabled

henning@app01~/repositories/kamailio/utils/kamcmd$ make Q=0
config.mak included
gcc -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall     -DNAME='"kamcmd"' -DSRNAME='"kamailio"' -DVERSION='"1.5"' -D__OS_linux -DRUN_DIR='"/var/run/kamailio/"'  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/readline -DMOD_NAME="utils/kamcmd" -c kamcmd.c -o kamcmd.o -MMD -MP
gcc -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall     -DNAME='"kamcmd"' -DSRNAME='"kamailio"' -DVERSION='"1.5"' -D__OS_linux -DRUN_DIR='"/var/run/kamailio/"'  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/readline -DMOD_NAME="utils/kamcmd" -c parse_listen_id.c -o parse_listen_id.o -MMD -MP
gcc -g -m64 -Wl,-O2 -Wl,-E   -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions kamcmd.o parse_listen_id.o  -lresolv -lreadline   -o kamcmd
henning@app01~/repositories/kamailio/utils/kamcmd$ ldd ./kamcmd
        linux-vdso.so.1 (0x00007ffe653de000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6054483000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6054291000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f60544ca000)
henning@app01~/repositories/kamailio/utils/kamcmd$ ./kamcmd -s /tmp/kamailio_ctl
kamcmd 1.5
Copyright 2006 iptelorg GmbH
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
kamcmd>                 ^C

</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3284#issuecomment-1350622379">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIOJOGNSCS7LMA7RJ3WNGAHTANCNFSM6AAAAAASJ63ZFU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZNO6ZWRMJAKISCM3NLWNGAHTA5CNFSM6AAAAAASJ63ZFWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSQQDOKW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3284/1350622379</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3284#issuecomment-1350622379",
"url": "https://github.com/kamailio/kamailio/issues/3284#issuecomment-1350622379",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>