View Full Version : Problem with library.
One of my programs is useing libncurses.so.4.
In my KNX3.2 I have a libncurses.so.5 , but I can`t find *.4.
Whre can I find this lib and how to install it?
Is there any way to run my program with libncurses.so.5?
Krs
RockMumbles
04-12-2003, 06:41 PM
Usually there is backward support in newer libraries, what I've had to do is make a link to the new library with the old name, like this:
ln -s libncurses.so.5 libncurses.so.4
Note you'll either have to be in the proper directory or use the full pathname.
HTH
rock
I have another problem to solve :)
When I`m trying to make a link as You suggest, an error occure:
"Ln: creating symbolic link ..... : Read-only file system.
I run my Knoppix from CD. After boot,the library directroy is on ram disk.
Then I login as root : su root.
And do the following :
cd /lib
ln -s libncurse.so.5 libncurse.so.4 > an error message occures.
I cheked mount - ramdisk is in read/write mode.
What I do wrong?
Krs
RockMumbles
04-15-2003, 12:59 AM
try this:
ln -s /lib/libncurses.so.5 /var/lib/libncurses.so.4
then:
ldconfig
/lib is a link to /KNOPPIX which is your cd, but /var is a link to /ramdisk/var so you can write there.
HTH
rock
Thank you again, but...
After applaying all of yours advices, my program givs me this:
error while loading shared libraries: libncourse.so.4: cannot open shared object file: No such file or directory.
I checked link/file exists.
Krs
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.