LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Installing libstdc++.so.5 (https://www.linuxquestions.org/questions/red-hat-31/installing-libstdc-so-5-a-4175537589/)

D.K.J 03-23-2015 05:17 AM

Installing libstdc++.so.5
 
Hi I have to intall a software for monitoring on our Red Hat Linux 6 Server and it seems to miss the libstdc++.so.5.

After some googling I found that I had to dowbload the rpm from ftp://ftp5.gwdg.de/pub/opensuse/repo...SLE-11/x86_64/
file: libstdc++33-3.3.3-29.2.x86_64.rpm
Not really sure if this i s correct but tried it never the less.

When I now try to run:
$ rpm -Uvh libstdc++33-3.3.3-29.2.x86_64.rpm
advarsel: libstdc++33-3.3.3-29.2.x86_64.rpm: Header V3 DSA/SHA1 Signature, key I D 6300dadb: NOKEY
Forbereder... ########################################### [100%]
file /usr/lib64/libstdc++.so.5.0.7 from install of libstdc++33-3.3.3-29. 2.x86_64 conflicts with file from package compat-libstdc++-33-3.2.3-69.el6.x86_6 4


Now what?

Any advice would be much appriciated :)

BR
Dan

veerain 03-23-2015 05:25 AM

Welcome to LQ!

Have a nice time.

Read LQ FAQ's and Rules.

veerain 03-23-2015 05:30 AM

libstdc++.so.5: You should not mix packages meant for different distro.

Use a package meant for RHEL 6.

Here is a link though for RHEL 7. Find a one for RHEL 6.

knudfl 03-23-2015 06:03 AM

Quote:

I have to intall a software for monitoring on our Red Hat Linux 6 Server
and it seems to miss the libstdc++.so.5.
# yum provides */libstdc++.so.5

# yum install compat-libstdc++

(( http://mirror.centos.org/centos/6.6/...el6.x86_64.rpm ))


Quote:

conflicts with file from package compat-libstdc++-33-3.2.3-69.el6.x86_64
.. And it seems you already have it installed.

? May be you require the 32bits libstdc++.so.5 ?
# yum install compat-libstdc++.i686



-

D.K.J 03-31-2015 04:48 AM

Hi

Thanks for reply.
It solved it self after installing twice. Not sure why, but now it works.

Tanks

Dan


All times are GMT -5. The time now is 11:54 AM.