This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/7323: Install failed to property account for libstdc++ location
- From: "Andy Freeman" <anamax at earthlink dot net>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 16 Jul 2002 05:56:01 -0000
- Subject: Re: bootstrap/7323: Install failed to property account for libstdc++ location
- Reply-to: "Andy Freeman" <anamax at earthlink dot net>
The following reply was made to PR bootstrap/7323; it has been noted by GNATS.
From: "Andy Freeman" <anamax@earthlink.net>
To: "Andrew Pinski" <pinskia@physics.uc.edu>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: bootstrap/7323: Install failed to property account for libstdc++ location
Date: Mon, 15 Jul 2002 22:52:12 -0700
Huh?
I suspect g++/ld knew where the correct library was when they generated
the executable, so why isn't that info in the executable for startup? Why
is it a good thing that it isn't?
In other words, are you saying that I have to set LD_LIBRARY_PATH
correctly before I start each executable.... (There are at least two ways
to end up with different libraries that have the same base name+extension,
so if the lookup is by file base name+extension, there's no way to have a
single LD_LIBRARY_PATH that is always correct at startup.)
-andy
----- Original Message -----
From: "Andrew Pinski" <pinskia@physics.uc.edu>
To: <anamax@earthlink.net>
Cc: <gcc-gnats@gcc.gnu.org>
Sent: Monday, July 15, 2002 9:40 PM
Subject: Re: bootstrap/7323: Install failed to property account for libstdc++ location
> The fix is really to set LD_LIBRARY_PATH to include your prefix:
> /home/andy/GCC3.1/gcc-3.1-bin.
>
> This is because gcc now uses shared libraries and you did not
> install gcc where ld*.so find them.
>
> Thanks,
> Andrew Pinski
>