[Asterisk-Users] Spandsp/rxfax/txfax & Asterisk 1.2stable - problems loading the modules

John Covici covici at ccs.covici.com
Sat Nov 26 15:05:52 MST 2005


I am getting the same problems -- undefined symbols with
spandsp-0.0.2pre21 and the fax modules from the same directory --
wonder if there are anylater versions?  I am not using /usr/local/lib
for any of these so its not in the ld.so.conf.

Any assistance would be appreciated.

on Wed, 23 Nov 2005 07:50:54 -0600 Martinez Felix <felix.jesus at gmail.com> wrote:

> two things...verify the content of your /etc/ld.so.conf file must have the
> path included(/usr/local/lib) and recompile and install...first span and
> then asterisk...
>
> On 11/22/05, Dominik Simon <kannel at dominik.de> wrote:
>>
>> Hi all,
>>
>> today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with
>> rxfax & txfax. After I restart the asterisk and get the following
>> errors:
>>
>> [app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/
>> asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler
>> WARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.so
>> failed!
>>
>> [app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/
>> asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info
>> WARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.so
>> failed!
>>
>> I am running Asterisk on fedora core 4 - all works great (Asterisk,
>> app_conference and others...), but tx/rxfax failed :(
>>
>> Now I found the following message on http://www.asteriskguru.com/
>> tutorials/spandsp.html:
>>
>> // START //
>>
>> 2) If you receive a message like the following:
>>
>> [app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314
>> __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined
>> symbol: fax_set_header_info
>> Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loading
>> module app_txfax.so failed!
>> Ouch ... error while writing audio data: : Broken pipe
>>
>> When you execute the asterisk -vvvvvvvc command and the Asterisk
>> crashes when you try to execute the safe_asterisk command, then very
>> probably you have the following problem:
>>
>> The previously installed version of spandsp has been 0.0.3, but now
>> you have installed version 0.0.2. The problem is that the
>> installation of version 0.0.3 creates a symlink, which is not
>> replaced by installation of version 0.0.2. So the symlink points to
>> the library of version 0.0.3, which actually does not exist.
>>
>> The solution is to find the location of this symlink and to delete it
>> manually. Usually it is in the /usr/lib/ directory.
>>
>> /// STOP ///
>>
>> -
>>
>> But I only have spandsl-0.0.2 installed, and the libs are in /usr/
>> local/lib, see:
>>
>> -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a
>> -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la
>> lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so ->
>> libspandsp.so.0.0.1
>> lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 ->
>> libspandsp.so.0.0.1
>> -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1
>>
>> -
>>
>> Does anybody have the same problems?
>>
>> Best regards and thx for help!
>>
>> Dominik Simon.
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the asterisk-users mailing list