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

Doug Doug at NaTel.net
Sat Nov 29 14:59:18 CST 2008


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" ?

 >
 >Doug wrote:
 >
 >> libspandsp.so.0: cannot open shared object file: No such file or directory
 >>
 >> Created the symlink:
 >>
 >> /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
 >>
 >>
 >> Edited /etc/ld.so.conf:
 >>
 >> # Begin ------ /etc/ld.so.conf
 >>
 >> include /etc/ld.so.conf.d/*.conf
 >>
 >> /usr/local/lib
 >>
 >> # End: ------- /etc/ld.so.conf
 >>
 >>
 >> Googled the heck out of it:
 >> <http://www.google.com/search?q=libspandsp.so.0:+cannot+open+shared+object>
 >>
 >> Still can't find the answer.  Any ideas? 




More information about the asterisk-users mailing list