i wants load this config on docker image kamailio/kamailio-ci:5.1-alpine.debug
During config parsing i got error
0(10) ERROR: [core/sr_module.c:636]: load_module(): Symbol not found: exports
0(10) CRITICAL: [core/cfg.y:3446]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 300, column 12-24: failed to load module
I checked symbol inside app_perl.so
and cannot find exports
@a7c6ee5895f8:/usr/lib/kamailio/modules$ readelf -all /usr/lib/kamailio/modules/app_perl.so | grep export
000000218d00 000b00000006 R_X86_64_GLOB_DAT 0000000000000000 find_export + 0
000000218db8 002100000006 R_X86_64_GLOB_DAT 0000000000000000 find_export_record + 0
11: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND find_export
33: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND find_export_record
97: 00000000002190c0 96 OBJECT GLOBAL DEFAULT 18 _app_perl_exports
When make same test for other module then this sympols is exists
@a7c6ee5895f8:/usr/lib/kamailio/modules$ readelf -all /usr/lib/kamailio/modules/kazoo.so | grep export
0000002586a8 001200000006 R_X86_64_GLOB_DAT 0000000000000000 find_export + 0
18: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND find_export
187: 0000000000259260 96 OBJECT GLOBAL DEFAULT 21 exports
start docker container
docker run --entrypoint=sh -it kamailio/kamailio-ci:5.1-alpine.debug
install tools
apk add wget binutils
copy config
wget https://raw.githubusercontent.com/nemergent/NG112LIS/master/kamailio.cfg -o /etc/kamailio/kamailio.cfg
start kamaillio and fix errors
kamailio -DD -E
none
0(10) ERROR: <core> [core/sr_module.c:636]: load_module(): Symbol not found: exports
0(10) CRITICAL: <core> [core/cfg.y:3446]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 300, column 12-24: failed to load module
0(10) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <app_perl> found
none
not known
kamailio -v
@a7c6ee5895f8:/usr/lib/kamailio/modules$ kamailio -v
version: kamailio 5.2.0-dev1 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, 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_LISTEN 16, 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 15:02:10 Mar 1 2018 with gcc 6.4.0
Linux a7c6ee5895f8 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 Linux
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.