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