This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ 3.1: libstdc++.so.3 problem



On Tue, 9 Jul 2002, Oliver Kullmann wrote:

> Hi,
>
> I have build gcc 3.1, and mostly it seems to be alright,
> my programs compile without any messages and most of them
> also run, except of one, where I get the error message:
>
> error while loading shared libraries: libstdc++.so.3: cannot open shared
> object file: No such file or directory
>
> Where should this libstdc++.so.3 be?! It's not in the
> implementation lib-directory, which only contains
>
> gcc-lib        libiberty.a   libstdc++.so        libsupc++.a
> libgcc_s.so    libstdc++.a   libstdc++.so.4      libsupc++.la
> libgcc_s.so.1  libstdc++.la  libstdc++.so.4.0.0
>
> As I said, the compilation doesn't give any warnings, so it shouldn't
> be a deprecated header. What is the problem here?!
>

Perhaps You have some shared library linked with libstdc++.so.3 (compiled
with gcc-3.0.X). Try using ldd -v ... for executable which requires
libstdc++.so.3 and find which it is. After that rebuild related package
with gcc-3.1.

Andris



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]