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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Nov 30 02:10:49 CST 2008


On Sun, Nov 30, 2008 at 12:08:19AM -0600, Doug wrote:
> At 15:13 11/29/2008, Doug Lytle wrote:
>  >Doug wrote:
>  >> Thanks for your reply, Alex.
>  >>
>  >> Do I need a symlink in "/usr/sbin/asterisk" to point
>  >> to "/usr/local/lib/libspandsp.so.1.0.0" ?
>  >>
>  >
>  >I'm going to ask a stupid question,
>  >
>  >You did run ldconfig, right?
> 
> Yeppers.  Right after editing /etc/ld.so.conf
> 
> ############################################
> # Begin ------ /etc/ld.so.conf
> 
> include /etc/ld.so.conf.d/*.conf
> 
> /usr/local/lib
> 
> # End: ------- /etc/ld.so.conf
> ############################################
> 
> 
> Why wouldn't it be:
> ############################################
> # Begin ------ /etc/ld.so.conf
> 
> include /etc/ld.so.conf.d/*.conf
> 
> include /usr/local/lib
> 
> # End: ------- /etc/ld.so.conf
> ############################################

Look at files with the pattern /etc/ld.so.conf.d/*.conf:

  E.g. on my Debian Lenny system:

  $ cat /etc/ld.so.conf.d/libc.conf
  # libc default configuration
  /usr/local/lib

  $ cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf
  # Multiarch support
  /lib/x86_64-linux-gnu
  /usr/lib/x86_64-linux-gnu

/usr/lib and /lib are implicit, IIRC.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list