[asterisk-users] libspandsp.so.0: cannot open shared object file: No such file or directory
Doug
Doug at NaTel.net
Sun Nov 30 12:29:14 CST 2008
At 02:10 11/30/2008, Tzafrir Cohen wrote:
>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.
Alrighty, then. As long as it works.
Any idea why libspandsp.so.0 can't be found?
More information about the asterisk-users
mailing list