From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24526 invoked by alias); 16 Jul 2002 05:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24512 invoked by uid 71); 16 Jul 2002 05:56:01 -0000 Date: Mon, 15 Jul 2002 22:56:00 -0000 Message-ID: <20020716055601.24511.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Andy Freeman" Subject: Re: bootstrap/7323: Install failed to property account for libstdc++ location Reply-To: "Andy Freeman" X-SW-Source: 2002-07/txt/msg00483.txt.bz2 List-Id: The following reply was made to PR bootstrap/7323; it has been noted by GNATS. From: "Andy Freeman" To: "Andrew Pinski" Cc: 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" To: Cc: 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 >