From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1342 invoked by alias); 23 Oct 2002 04:16:39 -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 1335 invoked from network); 23 Oct 2002 04:16:38 -0000 Received: from unknown (HELO pop017.verizon.net) (206.46.170.210) by sources.redhat.com with SMTP; 23 Oct 2002 04:16:38 -0000 Received: from verizon.net ([4.65.245.110]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021023041637.ULOF1423.pop017.verizon.net@verizon.net> for ; Tue, 22 Oct 2002 23:16:37 -0500 Message-ID: <3DB772E2.2040602@verizon.net> Date: Tue, 22 Oct 2002 21:16:00 -0000 From: Jeff Holle User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Problems with gcc 3.2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop017.verizon.net from [4.65.245.110] at Tue, 22 Oct 2002 23:16:37 -0500 X-SW-Source: 2002-10/txt/msg00278.txt.bz2 I've just installed gcc 3.2 on my linux system (Mandrake 8.2). Typing "gcc -v" from command line reports: Configured with: ./configure Thread model: posix gcc version 3.2 In compiling and running a simple boost.python extension module (which worked with gcc 2.96.0), I get: $python hello.py Traceback (most recent call last): File "hello.py", line 1, in ? import HELLO ImportError: libstdc++.so.5: cannot open shared object file: No such file or directory This appears to be because libstdc++.so.5 is installed in /usr/local/lib instead of /usr/lib (where the 2.96.0 shared libraries seem to be). What do I have to do to my environment to fix this? Note: I tried to define LD_LIBRARY_PATH (which was not previously defined) to "/usr/local/lib:/usr/lib:/lib", to no affect.