[asterisk-users] Error loading module 'chan_gtalk.so': libiksemel.so.3: cannot open shared object file: No such file or directory
José Pablo Méndez Soto
auxcri at gmail.com
Tue Nov 30 16:25:16 CST 2010
Hello,
Can't get chan_gtalk.so module to load, neither res_jabber.so:
Asterisk*CLI> module load chan_gtalk.so
Unable to load module chan_gtalk.so
Command 'module load chan_gtalk.so ' failed.
[Dec 1 16:10:05] WARNING[2931]: loader.c:387 load_dynamic_module: Error
loading module 'chan_gtalk.so': libiksemel.so.3: cannot open shared object
file: No such file or directory
[Dec 1 16:10:05] WARNING[2931]: loader.c:839 load_resource: Module
'chan_gtalk.so' could not be loaded.
I got pass the module compilation after installing iksemel from tar (
http://code.google.com/p/iksemel/). Menuselect showed chan_gtalk check-able
instead of XXX, which is good AFAIK.
Also, Asterisk recognizes the modules just fine:
Asterisk*CLI> module load res_
res_adsi.so res_ael_share.so res_agi.so
res_clialiases.so res_clioriginate.so res_convert.so
res_crypto.so res_fax.so res_jabber.so
res_limit.so res_monitor.so res_musiconhold.so
res_mutestream.so res_phoneprov.so res_realtime.so
res_rtp_asterisk.so res_rtp_multicast.so res_security_log.so
res_smdi.so res_speech.so res_stun_monitor.so
res_timing_dahdi.so res_timing_pthread.so res_timing_timerfd.so
res_calendar.so
Asterisk*CLI> module load ch
chan_agent.so chan_bridge.so chan_gtalk.so
chan_iax2.so chan_jingle.so chan_local.so
chan_mgcp.so chan_multicast_rtp.so chan_oss.so
chan_phone.so chan_sip.so chan_skinny.so
chan_unistim.so chan_dahdi.so
Also, I made sure SSL libraries are in place:
root at Asterisk:/etc/asterisk# dpkg -l openssl* libssl*
||/ Name Version
Description
+++-===============================-===============================-==============================================================================
un libssl <none> (no
description available)
ii libssl-dev 0.9.8g-16ubuntu3.4 SSL
development libraries, header files and documentation
ii libssl0.9.8 0.9.8g-16ubuntu3.4 SSL
shared libraries
un libssl08-dev <none> (no
description available)
un libssl09-dev <none> (no
description available)
un libssl095a-dev <none> (no
description available)
un libssl096-dev <none> (no
description available)
ii openssl 0.9.8g-16ubuntu3.4
Secure Socket Layer (SSL) binary and related cryptographic tools
un openssl-doc <none> (no
description available)
iksemel was successfully installed:
root at Asterisk:/etc/asterisk# ls /usr/local/lib/
libiksemel.a libiksemel.la libiksemel.so libiksemel.so.3
libiksemel.so.3.1.1 pkgconfig python2.6
Should I soft-link this libraries at another directory for Asterisk to find
them?
I found where chan_gtalk.so module gets the libraries from:
root at Asterisk:/usr/lib/asterisk/modules# ldd chan_gtalk.so
ldd chan_gtalk.so
linux-vdso.so.1 => (0x00007fff61bff000)
libiksemel.so.3 => (Not found)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f7fd4ee6000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f7fd4b5e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7fd4942000)
libc.so.6 => /lib/libc.so.6 (0x00007f7fd45d2000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f7fd43cd000)
libz.so.1 => /lib/libz.so.1 (0x00007f7fd41b6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7fd5559000)
So I soft-linked under /lib/, and get a different error when loading the
module:
Asterisk*CLI> module load chan_gtalk.so
Unable to load module chan_gtalk.so
Command 'module load chan_gtalk.so ' failed.
[Dec 1 16:28:26] WARNING[3055]: loader.c:449 load_dynamic_module: Error
loading module 'chan_gtalk.so': /usr/lib/asterisk/modules/chan_gtalk.so:
undefined symbol: ast_aji_get_client
[Dec 1 16:28:26] WARNING[3055]: loader.c:839 load_resource: Module
'chan_gtalk.so' could not be loaded.
root at Asterisk:/usr/lib/asterisk/modules# !ldd
ldd chan_gtalk.so
linux-vdso.so.1 => (0x00007fff61bff000)
libiksemel.so.3 => /lib/libiksemel.so.3 (0x00007f7fd5135000) <--- It
finds the library allright!
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f7fd4ee6000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f7fd4b5e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7fd4942000)
libc.so.6 => /lib/libc.so.6 (0x00007f7fd45d2000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f7fd43cd000)
libz.so.1 => /lib/libz.so.1 (0x00007f7fd41b6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7fd5559000)
Any thoughts?
*José Pablo Méndez
*********
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101130/b709c495/attachment.htm
More information about the asterisk-users
mailing list