You are not logged in.
Seams when I upgraded libreadline tonight it broke lua.
When I open lua i receive the following error message. "lua. error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory".
Now ls /lib libread* shows the new updated files as /lib/libreadline.so.6
by the looks of things it seams to be linking to the wrong version. I tried re-installing lua to see if it would change where it was poiting for the library but the same problem occurs.
So resolve this issue i just created two symlink:
ln -s /lib/libreadline.so /lib/libreadline.so.5
ln -s /lib/libhistory.so /lib/history.so.5
This resolve the issue but it is rather cheap.
Did anyone else experience this problem when updating libreadline today?
Offline
Do not symlink. That is not a fix.
Please update to 5.1.4-4.
Offline
Nar the symlink are fine, although not a permanent fix they will definitely do the job. Just type ls -la /lib or even ls -la /usr/lib and you will find about 70% of your libs are actual symlinks. The only reason why i say this is permanent is because it is symlinking the wrong version which isn't healthy for future upgrades of either readline or lua but it has caused no trouble so far.
*edit yeah there is a new version of lua which must resolve this issue as you said before so ihave upgrade to that and will test it out. thanks
Last edited by tama00 (2009-07-01 11:31:48)
Offline
They are simlinks to all with the same soname... never to a library with a different soname. You can have problems that are almost impossible to diagnose and waste all the developers time when you report bugs in your packages.
Offline
I've got the same problem with gnupg 1.4.9-1.
Did you want him to upgrade lua or to downgrade libreadline, iphitus?
Offline
Upgrade your entire system. Many packages depend on the newer readline.
Offline