LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need .so file (libstdc++-libc6.1.1.so.2) - where to look? (https://www.linuxquestions.org/questions/linux-software-2/need-so-file-libstdc-libc6-1-1-so-2-where-to-look-4175473208/)

nerdydad 08-13-2013 03:20 AM

Need .so file (libstdc++-libc6.1.1.so.2) - where to look?
 
I'm trying to run a 3rd party program, and when I run "ldd" it says the library file libstdc++-libc6.1.1.so.2 is not found. My computer is running Centos 5.8. I assume my installation is defective in some way. On another computer running Centos 4.6, this file is in /usr/lib , but that is an earlier version so I can't simply copy it across.

How do I find what version of libstdc++-libc6.1.1.so.2 I need, and where would I find it? I've got a set of disks for RHEL 5.8. Would it be on them and if so where would I look?

business_kid 08-13-2013 03:43 AM

Most likely thing is a 32/64 bit conflict - running a 32 bit program on a 64 bit box you need 32 bit libs. Thatś called a multilib system.

Run file on the executable to check
Quote:

file /path/to/program

knudfl 08-13-2013 05:05 AM

libstdc++-libc6.1.1.so.2 :
A very old (unknown) file, style <12 year old Redhat>,
provided by a "gcc-2.96 package".

The suggestion I have found is :
# ln -s libstdc++-2-libc6.1-1-2.9.0.so libstdc++-libc6.1.1.so.2

** libstdc++-2-libc6.1-1-2.9.0.so is provided by the package
compat-libstdc++-296-2.96-135.i386.rpm (Latest release = Fedora 5)
http://archives.fedoraproject.org/pu...6-135.i386.rpm

P.S. : I guess the package will install OK with :
# yum localinstall <package>.rpm
Or # rpm -Uvh --nodeps <package>.rpm

-


All times are GMT -5. The time now is 02:39 AM.