Thanks Danny, I tried export and it worked, though the path was /lib, not /usr/lib. Building the latest git on Debian 7.3 32bit, creating the deb packages works, codecs all show up fine without using export. Francis On 1/01/2014 8:20 AM, Danny Iland wrote:
Hi Francis,
Make sure liblzma.so was successfully built. Then try doing something like this right before you launch freeswitch:
export LD_PRELOAD=/usr/lib/i386-linux-gnu/liblzma.so
Note that that location is for 32-bit, your liblzma.so may be somewhere different.
Danny Iland
On Sat, Dec 28, 2013 at 8:36 AM, Francis <sms@skyline.qza.net.au <mailto:sms@skyline.qza.net.au>> wrote:
I tried a fresh git compile just now and got the same error:
2013-12-29 00:33:09.762125 [CRIT] switch_loadable_module.c:1391 Error Loading module /usr/local/freeswitch/mod/mod_spandsp.so **/usr/local/freeswitch/mod/mod_spandsp.so: undefined symbol: lzma_stream_encoder**
On 25/12/13 21:02, Francis wrote: > Nope, same error, thought the compile runs without a hitch. I tried > building the Debian packages on a fresh Debain install and got the same > problem. > > Is there anything in the compile or console logs worth looking for? > > Also, is there any library path variables I need to set? In both > systems, I'm using the Vanilla config. > > > On 25/12/2013 11:28 AM, Anthony Minessale wrote: >> >> Try going to the build root and running >> >> make spandsp-reconf >> make mod_spandsp-install >> >> On Dec 24, 2013 12:09 PM, "Francis" <sms@icefire.qza.net.au <mailto:sms@icefire.qza.net.au> >> <mailto:sms@icefire.qza.net.au <mailto:sms@icefire.qza.net.au>>> wrote: >> >> This is what I got: >> >> freeswitch@internal> load mod_spandsp >> +OK Reloading XML >> -ERR [module load file routine returned an error] >> >> 2013-12-25 03:58:47.599760 [INFO] mod_enum.c:876 ENUM Reloaded >> 2013-12-25 03:58:47.599760 [INFO] switch_time.c:1191 Timezone reloaded >> 530 definitions >> 2013-12-25 03:58:47.599760 [CRIT] switch_loadable_module.c:1391 Error >> Loading module /usr/local/freeswitch/mod/mod_spandsp.so >> **/usr/local/freeswitch/mod/mod_spandsp.so: undefined symbol: >> lzma_stream_encoder** >> >> >> On 25/12/13 01:42, Michael Jerris wrote: >> > Sounds like mod_spandsp isn't loading. Did you try loading it >> manually to see what error its throwing? >> > >> > On Dec 24, 2013, at 4:39 AM, Francis <sms@icefire.qza.net.au <mailto:sms@icefire.qza.net.au> >> <mailto:sms@icefire.qza.net.au <mailto:sms@icefire.qza.net.au>>> wrote: >> > >> >> Hi, >> >> >> >> When I do a show codecs in fs_cli, none of the spandsp codecs >> show up, >> >> even though GSM and G722 are enabled in vars.xml and mod_spandsp is >> >> enabled in modules.conf.xml. >> >> >> >> The module was compiled and installed. I'm having the same >> issue with >> >> iLBC. This isn't consistent with all modules however, since >> speex works >> >> just fine. Any ideas? >> >> >> >> Francis >> > >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> >> > http://www.freeswitchsolutions.com >> > >> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> > http://www.cudatel.com >> > >> > Official FreeSWITCH Sites >> > http://www.freeswitch.org >> > http://wiki.freeswitch.org >> > http://www.cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> >> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> >> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting@freeswitch.org <mailto:consulting@freeswitch.org> >> http://www.freeswitchsolutions.com >> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server >> http://www.cudatel.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://wiki.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org