From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev-return-1663-arch-gentoo-dev=gentoo.org@gentoo.org>
Received: (qmail 31923 invoked by uid 1002); 27 Feb 2003 09:04:08 -0000
Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Help: <mailto:gentoo-dev-help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Received: (qmail 29386 invoked from network); 27 Feb 2003 09:04:08 -0000
Date: Thu, 27 Feb 2003 09:54:41 +0100
From: Ingo Krabbe <i.krabbe@dokom.net>
To: gentoo-dev@gentoo.org
Message-ID: <20030227085441.GA2186@dokom.net>
Mail-Followup-To: gentoo-dev@gentoo.org
References: <1046334574.546.12.camel@beige>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1046334574.546.12.camel@beige>
User-Agent: Mutt/1.4i
Subject: Re: [gentoo-dev] gcc3.2.2 ate portage and others
X-Archives-Salt: e7f2f4df-51e9-44f1-b44d-6b085b4c3b55
X-Archives-Hash: cbdcffd0780b60b2ce3d345f33f17ef0

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