public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gcc3.2.2 ate portage and others
@ 2003-02-27  8:29 oford
  2003-02-27  8:54 ` Ingo Krabbe
  0 siblings, 1 reply; 5+ messages in thread
From: oford @ 2003-02-27  8:29 UTC (permalink / raw
  To: gentoo-dev


Went from gcc3.2 to 3.2.2.

Noticed that gnome-panel was not clearing closed windows.
Killed X and it restarted but put me in error message hell. Nothing
would work.
Tried to emerge gcc3.2 and got this...
"python: unable to load libstdc++.so.5"

I am now through being angry and kicking myself.  I just want things to
work again ;)

Any hints would be nice.

./Owen





--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] gcc3.2.2 ate portage and others
  2003-02-27  8:29 [gentoo-dev] gcc3.2.2 ate portage and others oford
@ 2003-02-27  8:54 ` Ingo Krabbe
  2003-02-27 16:10   ` Mark Gordon
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Krabbe @ 2003-02-27  8:54 UTC (permalink / raw
  To: gentoo-dev

On Thu, Feb 27, 2003 at 02:29:34AM -0600, oford wrote:
> 
> Went from gcc3.2 to 3.2.2.
> 
> Noticed that gnome-panel was not clearing closed windows.
> Killed X and it restarted but put me in error message hell. Nothing
> would work.
> Tried to emerge gcc3.2 and got this...
> "python: unable to load libstdc++.so.5"
> 
> I am now through being angry and kicking myself.  I just want things to
> work again ;)
> 
> Any hints would be nice.
> 
> ./Owen
> 

Hey Owen keep cool,

this is a bug of course, a bug that looks fat and dangerous, but this
will be easily resolved.

I don't know about the gentoo problem here.

What is obvious though, is that you have a problem loading some
libraries that live in the private directory of gcc.

On my architecture this directory is named:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2

This directory takes a line in
/etc/ld.so.conf
too !

What you can do is :

1. To get things running only in the current shell (works as user too!):
LD_LIBRARY_PATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

2. To get this running in the whole system (works only as root):
echo "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2">> ld.so.conf
ldconfig

If you have more problems, feel free to contact me directly.

NOTE THAT YOU MIGHT HAVE ANOTHER ARCHITECTURE ! MINE IS
i686-pc-linux-gnu

You can find out about this directory by:
gcc -v
which emits:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs

This specs directory is the same as the libraries should live in.

I hope this gets your system running smooth again.

BYE INGO

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] gcc3.2.2 ate portage and others
  2003-02-27  8:54 ` Ingo Krabbe
@ 2003-02-27 16:10   ` Mark Gordon
  2003-02-27 17:13     ` Eric Noack
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Gordon @ 2003-02-27 16:10 UTC (permalink / raw
  To: gentoo-dev

On Thu, 27 Feb 2003 09:54:41 +0100
Ingo Krabbe <i.krabbe@dokom.net> wrote:

> On Thu, Feb 27, 2003 at 02:29:34AM -0600, oford wrote:
> > 
> > Went from gcc3.2 to 3.2.2.
> > 
> > Noticed that gnome-panel was not clearing closed windows.
> > Killed X and it restarted but put me in error message hell. Nothing
> > would work.
> > Tried to emerge gcc3.2 and got this...
> > "python: unable to load libstdc++.so.5"
> > 
> > I am now through being angry and kicking myself.  I just want things
> > to work again ;)
> > 
> > Any hints would be nice.

<snip>

> this is a bug of course, a bug that looks fat and dangerous, but this
> will be easily resolved.
> 
> I don't know about the gentoo problem here.
> 
> What is obvious though, is that you have a problem loading some
> libraries that live in the private directory of gcc.
> 
> On my architecture this directory is named:
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2
> 
> This directory takes a line in
> /etc/ld.so.conf
> too !

<snip>

Doing an 

# env-update

as root should fix it.

Failing that, as root try the following

# gcc-config --list-profiles
which will tell you which gcc version you have, then
# gcc-config <version reported above>
# env-update
-- 
Mark Gordon
Paid to be a Geek & a Senior Software Developer
Currently looking for a new job commutable from Slough, Berks, U.K.
Although my email address says spamtrap, it is real and I read it.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] gcc3.2.2 ate portage and others
  2003-02-27 16:10   ` Mark Gordon
@ 2003-02-27 17:13     ` Eric Noack
  2003-02-27 18:03       ` oford
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Noack @ 2003-02-27 17:13 UTC (permalink / raw
  To: gentoo-dev

Am Thu, 27 Feb 2003 16:10:57 +0000
schrieb Mark Gordon <mark.gt@flash-gordon.me.uk>:

> On Thu, 27 Feb 2003 09:54:41 +0100
> Ingo Krabbe <i.krabbe@dokom.net> wrote:
> 
> 
> Doing an 
> 
> # env-update
> 
> as root should fix it.
> 

he lol, i had this bug, too

its already in bugs.gentoo.org, bug #15288

and env-update wont work until further workarounds doe to
python needing libstdc++.so.5 >:>>>>


> Failing that, as root try the following
> 
> # gcc-config --list-profiles
> which will tell you which gcc version you have, then
> # gcc-config <version reported above>
> # env-update
> -- 

i think gcc-config not working is what causes the bug in the first,
so i would be really interested in what happens here ;-)



> Mark Gordon
> Paid to be a Geek & a Senior Software Developer
> Currently looking for a new job commutable from Slough, Berks, U.K.
> Although my email address says spamtrap, it is real and I read it.
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

Eric >:>>>>>

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] gcc3.2.2 ate portage and others
  2003-02-27 17:13     ` Eric Noack
@ 2003-02-27 18:03       ` oford
  0 siblings, 0 replies; 5+ messages in thread
From: oford @ 2003-02-27 18:03 UTC (permalink / raw
  To: Eric Noack; +Cc: gentoo-dev, i.krabbe

I had to manually edit /etc/ld.so.conf and change the version number.
Then ldconfig
all as root.

Then I had to recompile my kernel and nvidia drivers since the compiler
version was different (the nvidia module was altogether unhappy with
having a new compiler around).  

Easy as pie. Kinda bothered that I didn't figure it out by myself...
live and learn.
 
And FYI all that "distress" in the original post was sarcasm.  Gentoo is
a big adventure and that is why many of us love it.  Fixing things is
much more entertaining than watching them work right every time ;)

Ingo: Thanks for the help.  All I needed was a push in the right
direction :)

But yeah...
bugbugbug




On Thu, 2003-02-27 at 11:13, Eric Noack wrote:
> Am Thu, 27 Feb 2003 16:10:57 +0000
> schrieb Mark Gordon <mark.gt@flash-gordon.me.uk>:
> 
> > On Thu, 27 Feb 2003 09:54:41 +0100
> > Ingo Krabbe <i.krabbe@dokom.net> wrote:
> > 
> > 
> > Doing an 
> > 
> > # env-update
> > 
> > as root should fix it.
> > 
> 
> he lol, i had this bug, too
> 
> its already in bugs.gentoo.org, bug #15288
> 
> and env-update wont work until further workarounds doe to
> python needing libstdc++.so.5 >:>>>>
> 
> 
> > Failing that, as root try the following
> > 
> > # gcc-config --list-profiles
> > which will tell you which gcc version you have, then
> > # gcc-config <version reported above>
> > # env-update
> > -- 
> 
> i think gcc-config not working is what causes the bug in the first,
> so i would be really interested in what happens here ;-)
> 
> 
> 
> > Mark Gordon
> > Paid to be a Geek & a Senior Software Developer
> > Currently looking for a new job commutable from Slough, Berks, U.K.
> > Although my email address says spamtrap, it is real and I read it.
> > 
> > --
> > gentoo-dev@gentoo.org mailing list
> > 
> 
> Eric >:>>>>>
> 
> --
> gentoo-dev@gentoo.org mailing list
-- 
oford <oford@ev1.net>


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-27 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27  8:29 [gentoo-dev] gcc3.2.2 ate portage and others oford
2003-02-27  8:54 ` Ingo Krabbe
2003-02-27 16:10   ` Mark Gordon
2003-02-27 17:13     ` Eric Noack
2003-02-27 18:03       ` oford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox