You are not logged in.
I just upgraded Python, which concurrently upgraded sqlite3 and readline (to version 6.0.0.something). When the python package finished upgrading, there was some error about readline. I did the upgrade via SSH, but now I can't login anymore. The error is: -bash: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
Login via console doesn't work either. Anyone know this problem and how to fix it?
Edit 13:12: I can't even boot the system, as it says "/bin/bash: error while loading shared libraries; libreadline.so.5: cannot open shared object file: No such file or directory" while entering runlevel 1.
Edit 13:41: I solved the problem by rebooting with an Arch USB stick, copying the libreadline.so.5.2 library to /lib, making a symlink to libreadline.so.5 and then rebooted. Then I upgraded bash to 4.0.0 and removed the libreadline.so.5* library.
Last edited by jealma (2009-07-14 11:37:53)
Offline
Do a forum search.
Offline
I met the exactly the same thing yesterday when I upgrade sqlite3. It upgrade readline 6.0 but bash still try to load readline 5.0. Of course, I can't login.
I think this is because package upgrade doesn't finish it job.
I use usb disk to boot and when It come up. I copy realine.5.0 from /lib to /mnt/lib where is you old one after old root by mounted by mount /dev/sdaxx /mnt
Offline
Hi jealma.
I am facing the same problem and trying out the same steps as you mentioned.
However, they seem to be not working for me and the same error message keeps cropping up.
Could you please post the commands in exact sequence?
I would check if i'm missing out something.
The other option is to use the live disk and install bash 4.0.
While doing that, i'm getting an error that says "Temporary name resolution failed".
I suppose that means i don't have an internet connection then?
If so, how do i get online from the live disk itself?
I use a wireless connection.
Thanks
Offline
I could get rid of the error with libreadline following the steps as mentioned here
http://bugs.archlinux.org/task/15351.
However, an error with libhistory, the exact same one as mentioned in the bug description, came up.
And the same procedure as mentioned there, symlinking from libhistory.so.5 to libhistory.so.6 is not working.
Any suggestions?
Thanks
Offline
I just run the archlinux live cd and installed the old version of readline for now... just checkout the pacman -r option, allows ya to set the root directory for pacman .
Otherwise I'm just gonna try and find out more about this issue for now.
cyas
Last edited by yosh64 (2009-07-20 08:06:37)
Offline
Thanks!
Same problem of mine solved by you all!
Last edited by coxchen (2009-07-25 15:36:17)
k.i.s.s.
Offline
To whoever frakking broke libreadline -- thanks a bloody lot. That's the first time I've ever had to use Alt+SysRq to reboot the system.
Offline