Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Error while loading shared libraries - Am I stuffed?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
_Dylan_
n00b
n00b


Joined: 24 Sep 2008
Posts: 9

PostPosted: Mon Oct 06, 2008 9:21 am    Post subject: [SOLVED]Error while loading shared libraries - Am I stuffed? Reply with quote

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 :P


Last edited by _Dylan_ on Mon Oct 06, 2008 11:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Silentsand74
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2007
Posts: 131

PostPosted: Mon Oct 06, 2008 9:31 am    Post subject: Reply with quote

I suggest using revdep-rebuild,
or emerge @preserved-rebuild (if you use portage-2.2.*)
to fix missing object.
Back to top
View user's profile Send private message
_Dylan_
n00b
n00b


Joined: 24 Sep 2008
Posts: 9

PostPosted: Mon Oct 06, 2008 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Oct 06, 2008 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message
_Dylan_
n00b
n00b


Joined: 24 Sep 2008
Posts: 9

PostPosted: Mon Oct 06, 2008 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum