PDA

Bekijk de volledige versie : can't load library 'libncurses.so.5'



gwl
23-10-2005, 02:43
Hi,

I've just installed the package "less" (381-2) with ipkg.
(it's also installed ncurses (5.4-4), in a usb drive mounted on /opt)

When I try to run it, it complains that:
[admin@g5 bin]$ less
less: can't load library 'libncurses.so.5'

but, in "/opt/lib/" I have:
...
-rwxr-xr-x 1 admin root 380380 Sep 2 15:11 libncurses.so.5.4
...

and in "/etc/ld.so.conf" i have:
/lib
/usr/lib
/opt/lib

----------

for some reason, I can't do a "ln -s" to this lib inside /opt/lib...
but, I can copy "libncurses.so.5.4" to "libncurses.so.5"..
and "less" works... :)

so... the question is:
how can I make programs use "libncurses.so.5.4" instead of "libncurses.so.5" ?

thanks.
:rolleyes:

gwl
23-10-2005, 03:41
oops...
the fat of the usb drive is fat32...
moving to ext3 solves the problem...

regards,
:rolleyes: