[asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory

Doug Doug at NaTel.net
Sun Nov 30 00:02:44 CST 2008


At 15:32 11/29/2008, Tzafrir Cohen wrote:
 >On Sat, Nov 29, 2008 at 02:59:18PM -0600, Doug wrote:
 >> Thanks for your reply, Alex.
 >>
 >> At 00:14 11/29/2008, Alex Balashov wrote:
 >>  >Paste 'ldd /usr/sbin/asterisk'.
 >>
 >>   ldd /usr/sbin/asterisk
 >>          linux-gate.so.1 =>  (0xffffe000)
 >>          libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f98000)
 >>          libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f86000)
 >>          libncurses.so.5 => /lib/libncurses.so.5 (0xb7f44000)
 >>          libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f1f000)
 >>          libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7f0c000)
 >>          libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ecd000)
 >>          libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000)
 >>          /lib/ld-linux.so.2 (0xb7fa4000)
 >>          libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
 >> (0xb7c61000)
 >>          libz.so.1 => /usr/lib/libz.so.1 (0xb7c4d000)
 >>
 >> Do I need a symlink in "/usr/sbin/asterisk" to point
 >> to "/usr/local/lib/libspandsp.so.1.0.0" ?
 >
 >No. Not in /usr/sbin/asterisk . In the specific module . Try e.g.:
 >
 >  ldd /usr/lib/asterisk/modules/app_fax.so

OK:

ldd /usr/lib/asterisk/modules/app_rxfax.so
         linux-gate.so.1 =>  (0xffffe000)
         libspandsp.so.0 => not found
         libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb7ef9000)
         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dc8000)
         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7da8000)
         libz.so.1 => /usr/lib/libz.so.1 (0xb7d94000)
         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d6f000)
         /lib/ld-linux.so.2 (0x80000000)


How come it can't find it?

#find / -name "libspandsp.so.0"
/usr/local/lib/libspandsp.so.0

# cd /usr/local/lib/
# ls -lt lib*
lrwxrwxrwx 1 root staff      19 2008-11-28 22:42 libspandsp.so.0 -> 
libspandsp.so.1.0.0
-rw-r--r-- 1 root staff 1849266 2008-11-13 13:26 libspandsp.a
-rwxr-xr-x 1 root staff     865 2008-11-13 13:26 libspandsp.la
lrwxrwxrwx 1 root staff      19 2008-11-13 13:26 libspandsp.so -> 
libspandsp.so.1.0.0
lrwxrwxrwx 1 root staff      19 2008-11-13 13:26 libspandsp.so.1 -> 
libspandsp.so.1.0.0
-rwxr-xr-x 1 root staff 1433877 2008-11-13 13:26 libspandsp.so.1.0.0






More information about the asterisk-users mailing list