View previous topic :: View next topic |
Author |
Message |
_Dylan_ n00b
Joined: 24 Sep 2008 Posts: 9
|
Posted: Mon Oct 06, 2008 9:21 am Post subject: [SOLVED]Error while loading shared libraries - Am I stuffed? |
|
|
A few minutes ago I was stupidly doing an update world while messing around with my library on Amarok and playing flash games. Of course, Amarok decided to crash, and I ended up with an unresponsive system, forcing me to press the reboot button.
Upon restarting, I received a nice error message:
Code: | /bin/login: Error while loading shared libraries: libaudit.so.0: cannot open shared object file: No such file or directory |
It seems to happen when loading X, it gets through the rest of the bootscripts. I can't login, even at the command line.
I've tried rebooting using the "rescue mode" boot option (with marginally more success), but the filesystem is read only at that stage (and I'm not sure how to change that), so I'm unable to install anything that may fix it.
Any help would be very welcome. Uni goes back tomorrow and I still have to get my homework done
Last edited by _Dylan_ on Mon Oct 06, 2008 11:06 am; edited 1 time in total |
|
Back to top |
|
|
Silentsand74 Tux's lil' helper
Joined: 10 Jul 2007 Posts: 131
|
Posted: Mon Oct 06, 2008 9:31 am Post subject: |
|
|
I suggest using revdep-rebuild,
or emerge @preserved-rebuild (if you use portage-2.2.*)
to fix missing object. |
|
Back to top |
|
|
_Dylan_ n00b
Joined: 24 Sep 2008 Posts: 9
|
Posted: Mon Oct 06, 2008 9:38 am Post subject: |
|
|
I can't do that, since I'm only able to login in rescue mode, and the filesystem is read only at that stage (revdep-rebuild can't run becuase it needs to create temp files). |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Oct 06, 2008 10:57 am Post subject: |
|
|
Well, you can always do this Code: | mount -n -o remount,rw / |
Alternatively you could boot your installation CD, and do the mount, mkdir, mount, mkdir.... steps like during the installation, chroot in and run revdep-rebuild.
Hopefully that will fix this. |
|
Back to top |
|
|
_Dylan_ n00b
Joined: 24 Sep 2008 Posts: 9
|
Posted: Mon Oct 06, 2008 11:04 am Post subject: |
|
|
mount -n -o remount,rw didn't work, but I fixed the problem with the help of some folks on IRC by chrooting in from my liveUSB with init=/bin/bb, and running revdep-rebuild from there. |
|
Back to top |
|
|
|