public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ricardo Anguiano <anguiano@codesourcery.com>
To: bjensen@fastmail.fm
Cc: Jeff Holle <jeff.holle@verizon.net>, gcc-help@gcc.gnu.org
Subject: Re: Problems with gcc 3.2
Date: Wed, 23 Oct 2002 11:33:00 -0000	[thread overview]
Message-ID: <m3znt5knss.fsf@mordack.codesourcery.com> (raw)
In-Reply-To: <3DB6DCC9.90802@fastmail.fm>

bjorn rohde jensen <bjensen@fastmail.fm> 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

      reply	other threads:[~2002-10-23 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 21:16 Jeff Holle
2002-10-23  3:31 ` Claudio Bley
2002-10-23 10:17 ` Ricardo Anguiano
2002-10-23 10:30   ` bjorn rohde jensen
2002-10-23 11:33     ` Ricardo Anguiano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3znt5knss.fsf@mordack.codesourcery.com \
    --to=anguiano@codesourcery.com \
    --cc=bjensen@fastmail.fm \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jeff.holle@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).