View previous topic :: View next topic |
Author |
Message |
gbuseman n00b
Joined: 06 Jun 2005 Posts: 5
|
Posted: Tue Jun 07, 2005 3:26 am Post subject: libstdc++.so.6 |
|
|
After a recent emerge --update world in which I didn't notice any errors, but apparently there was, I can no longer log onto gnome. I receive these errors at the login:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp /Defaults: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -x "/vat/gdm/:0.
Xservers" -h "" -l ".0" "georgb"
/etc/X11/gdm/Xsession: Beginning session setup
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent --gnome-session gnome-session: error while loading shared libraries: libstdc++.so.6:
cannot open shared object file: no such file or directory
I am not able to log in.
I have an alternate desktop which allows me to login, but all the applications I try to initiate get this error: Error while loading share libraries libstadc++.so.6
cannot open shared object file. No such file or directory.
I cannot run fix_libtool_files.sh as it also depends on the libstdc++ libs.
any recommendations? |
|
Back to top |
|
|
anfpunk Apprentice
Joined: 29 May 2003 Posts: 275 Location: Columbus, Oh
|
Posted: Tue Jun 07, 2005 5:35 am Post subject: |
|
|
Can you emerge libstdc++-v3? That should fix it. If that doesn't then emerge gcc glibc libstdc++-v3 Emerging those 3 seems to fix damn near everything I ever have problems with. |
|
Back to top |
|
|
gbuseman n00b
Joined: 06 Jun 2005 Posts: 5
|
Posted: Tue Jun 07, 2005 5:57 am Post subject: libstdc++ |
|
|
Unfortunately emerge relies on the lib, consequently I can't emerge. |
|
Back to top |
|
|
looshyan n00b
Joined: 07 Jun 2005 Posts: 3
|
Posted: Tue Jun 07, 2005 6:07 am Post subject: libstdc++.so.6 |
|
|
I have the same problem (as far as I can judge, so I'll just post in this thread - hope that's ok)! I was able to run fix_libtool_files.sh, but that didn't solve the problem. I can't emerge anything either (and many programs just refuse to start without the libstdc++.so.6).
Hmm...any help would be appreciated. I wonder if we could download a gcc tgz package from somewhere and install the missing lib manually.
By the way, the update that caused the problem was gcc 3.4.3 to 3.4.4 (that was the last package I was able to emerge before emerge itself went nuts)
Last edited by looshyan on Tue Jun 07, 2005 6:15 am; edited 1 time in total |
|
Back to top |
|
|
jasperbg n00b
Joined: 02 Mar 2005 Posts: 62 Location: Christchurch, New Zealand
|
Posted: Tue Jun 07, 2005 6:08 am Post subject: |
|
|
Boot from a LiveCD, chroot to your system and emerge from there.
By the way, this isn't really specific to Gnome so belongs in another forum. |
|
Back to top |
|
|
looshyan n00b
Joined: 07 Jun 2005 Posts: 3
|
Posted: Tue Jun 07, 2005 6:22 am Post subject: |
|
|
Found a solution:
libstdc++.so.6 was missing in my /usr/lib, but it turned out to exist in /usr/lib/gcc/(whatever your CHOST is)/3.4.4/, so I just did:
ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 /usr/lib/libstdc++.so.6
and now emerge is working again. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Tue Jun 07, 2005 6:44 am Post subject: |
|
|
There are plenty of threads on this, the recomended approach is to edit the relevant file in /etc/env.d/#### to redirect it _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
looshyan n00b
Joined: 07 Jun 2005 Posts: 3
|
|
Back to top |
|
|
gbuseman n00b
Joined: 06 Jun 2005 Posts: 5
|
Posted: Tue Jun 07, 2005 7:00 am Post subject: libstdc++ |
|
|
The link worked. Thanks for the help.
As to being in the wrong arena. This was my first post to the forum. I appreciate all the assistance. Next time I will try to choose a better area.
Again, thanks to everyone that had a suggestion.
GCB |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Jun 07, 2005 10:02 am Post subject: |
|
|
Moved from Desktop Environments to Duplicate Threads. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|