From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18287 invoked by alias); 23 Oct 2002 18:33:43 -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 18280 invoked from network); 23 Oct 2002 18:33:42 -0000 Received: from unknown (HELO 042.dsl6660142.ftth.surewest.net) (66.60.142.42) by sources.redhat.com with SMTP; 23 Oct 2002 18:33:42 -0000 Received: (from anguiano@localhost) by 042.dsl6660142.ftth.surewest.net (8.11.6/8.11.6) id g9NIXdX09026; Wed, 23 Oct 2002 11:33:39 -0700 To: bjensen@fastmail.fm Cc: Jeff Holle , gcc-help@gcc.gnu.org Subject: Re: Problems with gcc 3.2 References: <3DB772E2.2040602@verizon.net> <3DB6DCC9.90802@fastmail.fm> From: Ricardo Anguiano In-Reply-To: <3DB6DCC9.90802@fastmail.fm> Date: Wed, 23 Oct 2002 11:33:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00293.txt.bz2 bjorn rohde jensen writes: > How sure are you about the reliability of the > > >ImportError: libstdc++.so.5: cannot open shared object file: No such > >file or directory > > error message? Could this be a problem relating to the C++ ABI > changes from gcc 2 to gcc 3? C++ libraries created with one probably > wont work properly or even link with a program compiled with the > other. It sounds like, python likes dynamic loading of libraries, > and i doubt, the runtime linker will be any more successful than the > compile time linker. Just a thought;) Yes, it's true. You can't mix libraries from different versions of the compiler because the ABI changed. Make sure you are using the right library. This doesn't sounds like that problem. Another thought. Compile a simple hello world C++ program with the new compiler and try to run the executable. If you get the same error, then it's a problem with dynamic loading independent of what python wants. Presumably, Jeff knows where the fresh library file (libstdc++.so.5) was installed and can set LD_LIBRARY_PATH accordingly. -- Ricardo Anguiano CodeSourcery, LLC