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

Dominik Simon kannel at dominik.de
Tue Nov 22 06:17:05 MST 2005


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.



More information about the asterisk-users mailing list