[Techtalk] debian and shared libraries

Maria McKinley maria at shadlen.org
Fri Jul 20 01:51:06 UTC 2007


Maria McKinley wrote:
> Hi there,
> 
> I installed a deb package, which fails with the following error message:
> 
> /usr/sbin/afacli: error while loading shared libraries: libncurses.so.5: 
> cannot open shared object file: No such file or directory
> 
> However, libncurses.so.5 does exist
> 
> maude:~# ls /lib/libnc*
> /lib/libncurses.so.5    /lib/libncursesw.so.5
> /lib/libncurses.so.5.6  /lib/libncursesw.so.5.6
> 
> I have no idea how to go about telling the program where to look for the 
> library. Not sure to even find out where the program is currently 
> looking. Someone told me they thought it was some weirdness with the way 
> debian handles shared libraries and paths. Anyone know anything about this?
> 
> thanks,
> maria

Fyi, this did not work:

add line
/lib
to /etc/ld.so.conf
and run ldconfig

:-(

~maria


More information about the Techtalk mailing list