LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Finding and installing libstdc++-libc6.1-1.so.2 (http://www.linuxquestions.org/questions/red-hat-31/finding-and-installing-libstdc-libc6-1-1-so-2-a-847998/)

cmnorton 12-02-2010 03:38 PM

Finding and installing libstdc++-libc6.1-1.so.2
 
I need to install libstdc++-libc6.1-1.so.2 to work with a CA backup agent. I'm currently at CentOS release 5.5 (Final). I've viewed some other older threads about installing this library including yum install commands, which do not work.

If there are any pointers to getting this library installed, I would appreciate them.

Many thanks.
cmn

knudfl 12-03-2010 12:54 AM

May be compat-libstdc++-296 ( I didn't check the content.)
# yum install compat-libstdc++-296

But may be try # yum provides */libstdc++-libc6.1-1.so.2


The file is in the compat-libstdc++-296 for CentOS4.
http://mirror.centos.org/centos/4.8/os/
..

cmnorton 12-03-2010 04:30 PM

Bounded by CA
 
Unfortunately, we are bound by our vendor CA. The install is looking for a particular library version, which the latest CentOS (and I'm assuming its RH counterpart since CentOS is from those same open source modules), do not have this library.

This may be a dumb question, but what about building it? Where would I find the source?

knudfl 12-03-2010 04:49 PM

Building a libstdc++ from gcc-2.96 : Not possible unless it's
done on something like Redhat 7.x.

Suggest : Follow the link http://mirror.centos.org/centos/4.8/os/

→ →
http://mirror.centos.org/centos/4.8/...2.7.2.i386.rpm ( If you have i386 )

# rpm -Uvh compat-libstdc++-296-2.96-132.7.2.i386.rpm
.... It installs OK on CentOS 5.5 and Scientific SL55.
....

cmnorton 12-03-2010 04:58 PM

Why Red Hat 7?
 
This is a newer C++ so library than what's currently on CentOS 5. Why would I build something on Red Hat 7? I believe only RH EL 6 has just come out.

Quote:

Originally Posted by knudfl (Post 4179884)
Building a libstdc++ from gcc-2.96 : Not possible unless it's
done on something like Redhat 7.x.

Suggest : Follow the link http://mirror.centos.org/centos/4.8/os/

→ →
http://mirror.centos.org/centos/4.8/...2.7.2.i386.rpm ( If you have i386 )

# rpm -Uvh compat-libstdc++-296-2.96-132.7.2.i386.rpm
.... It installs OK on CentOS 5.5 and Scientific SL55.
....


cmnorton 12-03-2010 05:52 PM

Thanks
 
I'll give this a shot. Thank you.

Quote:

Originally Posted by knudfl (Post 4179884)
Building a libstdc++ from gcc-2.96 : Not possible unless it's
done on something like Redhat 7.x.

Suggest : Follow the link http://mirror.centos.org/centos/4.8/os/

→ →
http://mirror.centos.org/centos/4.8/...2.7.2.i386.rpm ( If you have i386 )

# rpm -Uvh compat-libstdc++-296-2.96-132.7.2.i386.rpm
.... It installs OK on CentOS 5.5 and Scientific SL55.
....


knudfl 12-04-2010 03:15 AM

10 years old ..
Quote:

Why Red Hat 7?

This is a newer ........
If you Google : Redhat 7 release
... Then the first hit will show :
20 Dec 2000 ... Version 7 (Guinness)
http://www.freeos.com/articles/2975/
..

John VV 12-04-2010 05:18 AM

compat-libstdc++-296-2.96-132.7.2.i386.rpm
dose have "libstdc++-2-libc6.1-1-2.9.0.so"
and you will need to make a link to it called "libstdc++-libc6.1-1.so.2"
and it is 5 years old ( feb.21 2005)

and a google for "libstdc++-libc6.1-1.so.2"
119,000 hits
http://www.rpmfind.net/linux/rpm2htm...libc6.1-1.so.2

cmnorton 12-06-2010 12:04 PM

Worked Thank You
 
Thank you all for the good advice and pointers. I now have these libraries installed.


All times are GMT -5. The time now is 11:33 PM.