I try load kamailio:5.1 and get this error
/ # kamailio -DD -E
0(167) ERROR: <core> [core/sr_module.c:582]: load_module(): could not open module </usr/lib/kamailio/modules/tls.so>: Error relocating /usr/lib/kamailio/modules/tls.so: X509_free: symbol not found
0(167) CRITICAL: <core> [core/cfg.y:3460]: yyerror_at(): parse error in config file /etc/kamailio/tls-role.cfg, line 7, column 12-19: failed to load module
0(167) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <tls> found
0(167) CRITICAL: <core> [core/cfg.y:3463]: yyerror_at(): parse error in config file /etc/kamailio/tls-role.cfg, line 8, column 56: Can't set module parameter
0(167) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <tls> found
0(167) CRITICAL: <core> [core/cfg.y:3463]: yyerror_at(): parse error in config file /etc/kamailio/tls-role.cfg, line 9, column 40: Can't set module parameter
ERROR: bad config file (3 errors)
0(167) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
/ #
Used alpine:edge
with OpenSSL
ldd
utility properly located all shared libs
/ # LD_PRELOAD=/usr/sbin/kamailio ldd /usr/lib/kamailio/modules/tls.so
ldd (0x7fba9200c000)
/usr/sbin/kamailio => /usr/sbin/kamailio (0x7fba91c09000)
libssl.so.1.1 => /lib/libssl.so.1.1 (0x7fba91b8a000)
libc.musl-x86_64.so.1 => ldd (0x7fba9200c000)
libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x7fba9190d000)
/ #
Symbol located at /lib/libcrypto.so.1.1
of OpenSSL
package
/ # apk info --who-owns /lib/libcrypto.so.1.1
/lib/libcrypto.so.1.1 is owned by libcrypto1.1-1.1.1a-r0
Need to add tls module to kamailio config and start kamailio.
N/A
Provided above
N/A
Not known
kamailio -v
/ # kamailio -v
version: kamailio 5.1.6 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 03:24:34 Nov 23 2018 with gcc 8.2.0
/ # uname -a
Linux node1a.i-telecoms.com 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux
/ # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.8.0
PRETTY_NAME="Alpine Linux v3.8"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"
/ #
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.