Hello,
some time ago there were some discussions about missing symbols (not
sure if this one), the cause being a different version of perl than the
one used to generate modules_k/perl/openserxs.xs. Delete that file and
compile again.
Cheers,
Daniel
On 3/28/12 9:49 AM, Karsten Horsmann wrote:
Hi,
i am using Centos 6 (32bit) and kamailio 3.2.2 build from the tar.gz.
I installed all dependencies for the modules
and the make all, make install seems to be fine.
But something is wrong with my kamailio - how can i fix this?
If i try to load the perl module i get this error messages:
ERROR:<core> [sr_module.c:565]: ERROR: load_module: could not open
module</usr/local/lib/kamailio/modules_k/perl.so>:
/usr/local/lib/kamailio/modules_k/perl.so: undefined symbol:
boot_OpenSER
<core> [cfg.y:3501]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 214, column 12-20: failed
to load module
ls -la /usr/local/lib/kamailio/modules_k/perl.so
-rwxr-xr-x 1 root root 107985 28. Mär 09:38
/usr/local/lib/kamailio/modules_k/perl.so
ldd /usr/local/lib/kamailio/modules_k/perl.so
linux-gate.so.1 => (0x008fe000)
libperl.so => /usr/lib/perl5/CORE/libperl.so (0x00dd8000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00343000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00cdf000)
libdl.so.2 => /lib/libdl.so.2 (0x0024f000)
libm.so.6 => /lib/libm.so.6 (0x00fab000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x002c3000)
libutil.so.1 => /lib/libutil.so.1 (0x00d21000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x0035c000)
libkmi.so.1 => /usr/local/lib/kamailio/libkmi.so.1 (0x00aa1000)
/lib/ld-linux.so.2 (0x004f7000)
libfreebl3.so => /lib/libfreebl3.so (0x00632000)
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/