LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-23-2015, 05:17 AM   #1
D.K.J
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Rep: Reputation: Disabled
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
 
Old 03-23-2015, 05:25 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Welcome to LQ!

Have a nice time.

Read LQ FAQ's and Rules.
 
Old 03-23-2015, 05:30 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 03-23-2015, 06:03 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



-

Last edited by knudfl; 03-23-2015 at 06:07 AM.
 
Old 03-31-2015, 04:48 AM   #5
D.K.J
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi

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

Tanks

Dan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing libstdc.so.6 in RHEL swineetha Red Hat 1 06-11-2013 09:38 AM
[SOLVED] Finding and installing libstdc++-libc6.1-1.so.2 cmnorton Red Hat 8 12-06-2010 11:04 AM
[SOLVED] where to get compat-libstdc++-33 and libstdc++.so.5 files for Symantec Backup Agent ? albertwt Linux - Newbie 4 09-09-2010 09:02 AM
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline SUSE / openSUSE 2 10-19-2007 07:01 AM
Please help on installing libstdc++.so.6 HiOctane21 Linux - Software 3 06-09-2005 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration