From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4901 invoked by alias); 23 Oct 2002 10:31:47 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4883 invoked from network); 23 Oct 2002 10:31:43 -0000 Received: from unknown (HELO wh2-19.st.uni-magdeburg.de) (141.44.162.19) by sources.redhat.com with SMTP; 23 Oct 2002 10:31:43 -0000 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 5E09690F60; Wed, 23 Oct 2002 12:32:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15798.31399.247169.413219@wh2-19.st.uni-magdeburg.de> Date: Wed, 23 Oct 2002 03:31:00 -0000 From: "Claudio Bley" To: Jeff Holle Cc: gcc-help@gcc.gnu.org Subject: Re: Problems with gcc 3.2 In-Reply-To: <3DB772E2.2040602@verizon.net> References: <3DB772E2.2040602@verizon.net> X-SW-Source: 2002-10/txt/msg00282.txt.bz2 >>>>> "Jeff" == Jeff Holle writes: Jeff> $python hello.py Traceback (most recent call last): Jeff> File "hello.py", line 1, in ? import HELLO ImportError: Jeff> libstdc++.so.5: cannot open shared object file: No such file Jeff> or directory Jeff> This appears to be because libstdc++.so.5 is installed in Jeff> /usr/local/lib instead of /usr/lib (where the 2.96.0 shared Jeff> libraries seem to be). Jeff> What do I have to do to my environment to fix this? Jeff> Note: I tried to define LD_LIBRARY_PATH (which was not Jeff> previously defined) to "/usr/local/lib:/usr/lib:/lib", to no Jeff> affect. Did you export that variable? It should work then. (and you don't need to specify paths already searched for, just /usr/local/lib) On the other hand you might just add /usr/local/lib to /etc/ld.so.conf and run ldconfig. Afterwards running ldd on HELLO.so all library references should be resolved. -- Claudio Bley ASCII ribbon campaign (") Debian GNU/Linux advocate - against HTML email X http://www.cs.uni-magdeburg.de/~bley/ & vCards / \