libstdc++.so.2.8 does not exist for Linux 7.0

Frank Ch. Eigler fche@redhat.com
Tue Oct 30 07:31:00 GMT 2001


"Balaraman S (Bala)" <sbalaram@mil.emc.com> writes:

: [...]
: My questions:
: 1. At compile time can we use some switches so that it does not hardcode
: the libstdc++ to libstdc++.so.2.8.
: OR
: 2. At run time can we have the application look for libstdc++.so.2.9,
: even though at compile time it is hardcoded to  libstdc++.so.2.8?

Even if these tricks worked, your program would not work.  In general,
libstdc++ shared libraries are NOT interchangeable with each other,
since they do not implement an identical binary interface.


: OR
: 3. Some other trick so solve the problem.

Consider statically linking for your application, so it will depend on
no shared libraries.


: [...]
: Is it safe to install RPM "libstdc++.so.2.8" for kernel
: 2.2.16-22enterprise (redhat linux 7.0) along with libstdc++.so.2.9?
: [...]

Yes.


- FChE



More information about the Libstdc++ mailing list