You are not logged in.

#1 2009-07-14 10:50:20

jealma
Member
From: The Netherlands
Registered: 2008-01-03
Posts: 71

[SOLVED] Cannot login after readline upgrade

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

#2 2009-07-14 11:27:59

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

Re: [SOLVED] Cannot login after readline upgrade

Do a forum search.

Offline

#3 2009-07-14 14:39:06

ygao
Member
Registered: 2009-06-18
Posts: 20

Re: [SOLVED] Cannot login after readline upgrade

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

http://wiki.archlinux.org/index.php/Kernel_Panics

Offline

#4 2009-07-16 01:52:04

RyeCatcher
Member
Registered: 2007-12-25
Posts: 5

Re: [SOLVED] Cannot login after readline upgrade

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

#5 2009-07-16 09:48:58

RyeCatcher
Member
Registered: 2007-12-25
Posts: 5

Re: [SOLVED] Cannot login after readline upgrade

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

#6 2009-07-20 08:05:49

yosh64
Member
Registered: 2006-10-02
Posts: 3

Re: [SOLVED] Cannot login after readline upgrade

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 smile.

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

#7 2009-07-25 15:35:58

coxchen
Member
From: China
Registered: 2009-07-24
Posts: 2

Re: [SOLVED] Cannot login after readline upgrade

Thanks!

Same problem of mine solved by you all!

Last edited by coxchen (2009-07-25 15:36:17)


k.i.s.s.

Offline

#8 2009-08-26 19:51:52

thetrivialstuff
Member
Registered: 2006-05-10
Posts: 191

Re: [SOLVED] Cannot login after readline upgrade

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

Board footer

Powered by FluxBB