This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

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



"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


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