José Pablo Méndez Soto
2010-Nov-30 22:25 UTC
[asterisk-users] Error loading module 'chan_gtalk.so': libiksemel.so.3: cannot open shared object file: No such file or directory
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
José Pablo Méndez Soto
2010-Nov-30 22:27 UTC
[asterisk-users] Error loading module 'chan_gtalk.so': libiksemel.so.3: cannot open shared object file: No such file or directory
Sorry never mind! I got it to work after sof-linking to /lib/, and loading res_jabber.so first, chan_gtalk.so second. So in summary: ln -s /usr/local/lib /lib/ asterisk-cli>modules load res_jabber.so asterisk-cli>modules load chan_gtalk.so Cheers! *Jos? Pablo M?ndez ********* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101130/f07ff845/attachment.htm
José Pablo Méndez Soto
2010-Dec-07 04:28 UTC
[asterisk-users] Error loading module 'chan_gtalk.so': libiksemel.so.3: cannot open shared object file: No such file or directory
Yes sir, We are pass the error. Works like a charm. I just documented this on our new wiki: http://voipcomsolutions.com/wiki/index.php?title=How_to_install_Asterisk_from_source_-_Google_Integration_ready Thanks again *Jos? Pablo M?ndez ********* 2010/12/1 Jos? Pablo M?ndez Soto <auxcri at gmail.com>> Thank you sir, > > I got to read your email a few minutes ago. I will try your recommendation > and update. > > > > On Tue, Nov 30, 2010 at 5:01 PM, Tilghman Lesher <tlesher at digium.com>wrote: > >> On Tuesday 30 November 2010 16:27:33 Jos? Pablo M?ndez Soto wrote: >> > Sorry never mind! >> > >> > I got it to work after sof-linking to /lib/, and loading res_jabber.so >> > first, chan_gtalk.so second. >> > >> > So in summary: >> > >> > ln -s /usr/local/lib /lib/ >> >> The better way to do this would be: >> >> echo "/usr/local/lib" > /etc/ld.so.conf.d/iksemel.conf >> ldconfig >> >> -- >> Tilghman Lesher >> Digium, Inc. | Senior Software Developer >> twitter: Corydon76 | IRC: Corydon76-dig (Freenode) >> Check us out at: www.digium.com & www.asterisk.org >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101206/f268c8f6/attachment.htm