[Asterisk-Users] spandsp for 1.2.1 - libspandsp.so.0: cannot openshared object file: No such file or directory

Alexander Lopez alex.lopez at opsys.com
Sun Jan 8 15:35:04 MST 2006


Make sure that /usr/local/lib is in your lib path. /etc/ld.conf
 


________________________________

	From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David C.
Nicosia
	Sent: Sunday, January 08, 2006 5:25 PM
	To: asterisk-users at lists.digium.com
	Subject: [Asterisk-Users] spandsp for 1.2.1 - libspandsp.so.0:
cannot openshared object file: No such file or directory
	
	

	I am getting the following error when starting:

	 

	loader.c:325 __load_resource: libspandsp.so.0: cannot open
shared object file: No such file or directory

	loader.c:499 load_modules: Loading module app_txfax.so failed!

	 

	When I load app_txfax.so and/or app_txfax.so; if these are
commented out, asterisk starts fine.

	 

	I downloaded the spandsp version from
http://soft-switch.org/downloads/spandsp/spandsp-0.0.2pre21c/asterisk-1.
2.x/ and have Asterisk SVN-branch-1.2-r7470M.

	 

	I changed the Makefile as instructed and added the following
lines to /usr/src/asterisk-1.2/apps/makefile

	 

	ifneq ($(wildcard
$(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h
$(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),)

	APPS+=app_rxfax.so app_txfax.so

	endif

	 

	app_rxfax.so: app_rxfax.o

	        $(CC) $(SOLINK) -o $@ $<  -lspandsp -ltiff

	 

	app_txfax.so: app_txfax.o

	        $(CC) $(SOLINK) -o $@ $<  -lspandsp -ltiff

	 

	I then did the make cleans, makes and make installs as necessary
for both spandsp and asterisk

	 

	If I add the following to my Modules.conf

	 

	load => app_txfax.so

	load => app_txfax.so

	 

	I get the above error. 

	 

	The app_rxfax.so and app_txfax.so are in
/usr/lib/asterisk/modules. The libspandsp is in /usr/local/lib:

	 

	-rw-r--r--  1 root root 1455480 Jan  8 15:39
/usr/local/lib/libspandsp.a

	-rwxr-xr-x  1 root root     822 Jan  8 15:39
/usr/local/lib/libspandsp.la

	lrwxrwxrwx  1 root root      19 Jan  8 15:39
/usr/local/lib/libspandsp.so -> libspandsp.so.0.0.1

	lrwxrwxrwx  1 root root      19 Jan  8 15:39
/usr/local/lib/libspandsp.so.0 -> libspandsp.so.0.0.1

	-rwxr-xr-x  1 root root  934820 Jan  8 15:39
/usr/local/lib/libspandsp.so.0.0.1

	 

	And I have /usr/local/lib in /etc/ld.so.conf.

	 

	Any idea / help would be GREATLY appreciated. I've been
searching and searching and trying and trying. Thanks!

	 

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060108/0e528153/attachment.htm


More information about the asterisk-users mailing list