You are not logged in.

#1 2009-07-01 09:56:10

tama00
Member
Registered: 2009-07-01
Posts: 3

Did the latest upgrade of libreadline just break lua?

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

#2 2009-07-01 10:52:47

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Did the latest upgrade of libreadline just break lua?

Do not symlink. That is not a fix.

Please update to 5.1.4-4.

Offline

#3 2009-07-01 11:28:22

tama00
Member
Registered: 2009-07-01
Posts: 3

Re: Did the latest upgrade of libreadline just break lua?

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

#4 2009-07-01 11:55:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Did the latest upgrade of libreadline just break lua?

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

#5 2009-07-02 13:25:51

beza1e1
Member
From: Karlsruhe, Germany
Registered: 2007-04-15
Posts: 30
Website

Re: Did the latest upgrade of libreadline just break lua?

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

#6 2009-07-02 13:42:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Did the latest upgrade of libreadline just break lua?

Upgrade your entire system.  Many packages depend on the newer readline.

Offline

Board footer

Powered by FluxBB