Before compiling, add -lssl in the firw modules/dnssec/Makefile to the
LIBS varaible.
If works, then we can push it in Kamailio.
Cheers,
Daniel
On 04/11/14 12:58, shmick(a)riseup.net wrote:
sure,
Daniel-Constantin Mierla:
Hello,
can you send the output of:
ldd /usr/lib/x86_64-linux-gnu/kamailio/modules/dnssec.so
$ ldd
/usr/lib/x86_64-linux-gnu/kamailio/modules/dnssec.so
linux-vdso.so.1 (0x00007fff83ffe000)
libval-threads.so.14 => /usr/lib/x86_64-linux-gnu/libval-threads.so.14
(0x00007fd65aa96000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007fd65a69c000)
libsres.so.14 => /usr/lib/x86_64-linux-gnu/libsres.so.14
(0x00007fd65a483000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fd65a266000)
libkmi.so.1 => /usr/lib/x86_64-linux-gnu/kamailio/libkmi.so.1
(0x00007fd65a05c000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd659cb2000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd659aae000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd65aee3000)
I see the module is linked against libcrypto, but
from the error message
it seems it needs libssl as well.
Cheers,
Daniel
On 01/11/14 16:45, shmick(a)riseup.net wrote:
> running kamailio from
>
> deb
http://deb.kamailio.org/kamailio jessie main
>
> when i add the dnssec module to /etc/kamailio/kamailio.cfg kamailiop
> fails to start and gives:
>
> [FAIL] Not starting Kamailio SIP Server: invalid configuration file! ...
> failed!
> failed!
> [....] 0(8839) ERROR: <core> [sr_module.c:597]: load_module(): could not
> open module </usr/lib/x86_64-linux-gnu/kamailio/modules/dnssec.so>:
> /usr/lib/x86_64-linux-gnu/libval-threads.so.14: undefined symbol:
> SSL_get_SSL_CTX 0(8839) : <core> [cfg.y:3436]: yyerror_at(): parse error
> in config file /etc/kamailio/kam[FAIL.cfg, line 239, column 12-22:
> failed to load module ERROR: bad config file (1 errors) ... failed!
> failed!
>
> $ sudo ls -la /usr/lib/x86_64-linux-gnu/kamailio/modules/dnssec.so
> -rw-r--r-- 1 root root 22912 Oct 17 09:04
> /usr/lib/x86_64-linux-gnu/kamailio/modules/dnssec.so
>
> any help appreciated
> thanks
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users