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]

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


Hello,


I want to run a program which I made it on Linux 5.2, which linked with
libstdc++.so.2.8.

FYI: Linux 7.0,  kernel  2.2.16-22enterprise does not use
"libstdc++.so.2.8"(RTS stated), only uses "libstdc++.so.2.9".

# g++ test.cpp -lstdc++ -o test
# ldd test
        libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x40005000)
        libm.so.6 => /lib/libm.so.6 (0x40046000)
        libc.so.6 => /lib/libc.so.6 (0x4005f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

linux7.0 # test
test: error while loading shared libraries: libstdc++.so.2.8: cannot
load shared object file: No such file or directory

Any suggestion? 

Note: We do not want to install C++ package RPM "libstdc++.so.2.8" for
Linux 7.0

Is there a compile option where we can make this test program with
version independent libstdc++?

Please help

Thanks
Bala


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