[Freeswitch-users] iLBC and spandsp codecs not available in stock install

Danny Iland iland at cs.ucsb.edu
Wed Jan 1 01:20:00 MSK 2014


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 at 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 at icefire.qza.net.au
> >> <mailto:sms at icefire.qza.net.au>> wrote:
> >>
> >>     This is what I got:
> >>
> >>     freeswitch at 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 at icefire.qza.net.au
> >>     <mailto:sms at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
> >>     > http://www.freeswitchsolutions.com
> >>     >
> >>     > 
> >>     > 
> >>     >
> >>     > Official FreeSWITCH Sites
> >>     > http://www.freeswitch.org
> >>     > http://wiki.freeswitch.org
> >>     > http://www.cluecon.com
> >>     >
> >>     > FreeSWITCH-users mailing list
> >>     > FreeSWITCH-users at lists.freeswitch.org
> >>     <mailto:FreeSWITCH-users at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
> >>     http://www.freeswitchsolutions.com
> >>
> >>     
> >>     
> >>
> >>     Official FreeSWITCH Sites
> >>     http://www.freeswitch.org
> >>     http://wiki.freeswitch.org
> >>     http://www.cluecon.com
> >>
> >>     FreeSWITCH-users mailing list
> >>     FreeSWITCH-users at lists.freeswitch.org
> >>     <mailto:FreeSWITCH-users at 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 at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> 
> >> 
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at 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 at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131231/002233b1/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list