LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2012, 10:20 AM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
libstdc++.so.5 is needed by


Hi all,

trying to install rpms but end up with below error

Code:
 rpm -ivh TIVsm-API.i386.rpm TIVsm-API64.i386.rpm TIVsm-BA.i386.rpm
error: Failed dependencies:
        libstdc++.so.5 is needed by TIVsm-API-5.5.0-0.i586
        libstdc++.so.5(CXXABI_1.2) is needed by TIVsm-API-5.5.0-0.i586
        libstdc++.so.5(GLIBCPP_3.2) is needed by TIVsm-API-5.5.0-0.i586
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by TIVsm-API-5.5.0-0.i586
when i tried to install needed rpm for above got below message

Code:
rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing...                ########################################### [100%]
        package compat-libstdc++-33-3.2.3-69.el6.x86_64 (which is newer than compat-libstdc++-33-3.2.3-61.i386) is already installed
looks like this dependency is already there

Code:
rpm -qa |grep compat-libstdc++
compat-libstdc++-296-2.96-144.el6.i686
compat-libstdc++-33-3.2.3-69.el6.x86_64
and also libstdc++.so.5 is also there
Code:
# locate libstdc++.so.5
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7
Not sure what is the issue..any help please.
thanks in advance!
 
Old 09-12-2012, 10:40 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
You only have the 64-bit libstdc++ installed (notice it's located in /usr/lib64), you need the 32-bit. What distro is this?
 
Old 09-12-2012, 10:43 AM   #3
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
What do you get from this?

Code:
ldconfig -v | grep libstdc++
 
Old 09-12-2012, 10:46 AM   #4
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi suicidaleggroll

It is CentOs 6.2 , I tried to install 32-bit version but endup with error below
Code:
# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing...                ########################################### [100%]
        package compat-libstdc++-33-3.2.3-69.el6.x86_64 (which is newer than compat-libstdc++-33-3.2.3-61.i386) is already installed
Hi doublejoon

Code:
# ldconfig -v | grep libstdc++
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-220.el6.x86_64.conf:6: duplicate hwcap 1 nosegneg
        libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
        libstdc++.so.5 -> libstdc++.so.5.0.7
        libstdc++.so.6 -> libstdc++.so.6.0.13
 
Old 09-12-2012, 11:00 AM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Why are you trying to download/install these manually? Just use yum, that's what it's there for.
Code:
$ yum provides libstdc++.so.5

compat-libstdc++-33-3.2.3-69.el6.i686 : Compatibility standard C++ libraries
Repo        : base
Matched from:
Other       : libstdc++.so.5

$ yum install compat-libstdc++-33-3.2.3-69.el6.i686

Last edited by suicidaleggroll; 09-12-2012 at 11:01 AM.
 
Old 09-12-2012, 11:04 AM   #6
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi

tried with but endup with below

Code:
No package compat-libstdc++-33-3.2.3-69.el6.i686 available.
Error: Nothing to do
 
Old 09-12-2012, 11:19 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The package name is compat-libstdc++-33

So it is : # yum compat-libstdc++-33.i686
... for RHEL 6, CentOS 6

And EL 5, CentOS 5 : # yum compat-libstdc++-33.i386

( 'yum search libstdc++' will list the choices.)

.
 
Old 09-12-2012, 11:20 AM   #8
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
Code:
yum install compat-libstdc++-33.i686
 
Old 09-12-2012, 11:23 AM   #9
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi,

yes tried the same but same error

Code:
Setting up Install Process
No package compat-libstdc++-33.i686 available.
Error: Nothing to do
and search results below

Code:
yum search libstdc++


compat-libstdc++-296.i686 : Compatibility 2.96-RH standard C++ libraries
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries
libstdc++.i686 : GNU Standard C++ Library
libstdc++.x86_64 : GNU Standard C++ Library
libstdc++-devel.i686 : Header files and libraries for C++ development
libstdc++-devel.x86_64 : Header files and libraries for C++ development
libstdc++-docs.x86_64 : Documentation for the GNU standard C++ library

  Name and summary matches only, use "search all" for everything.

Last edited by linuxandtsm; 09-12-2012 at 11:26 AM.
 
Old 09-12-2012, 11:40 AM   #10
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
Hmm this is kind of strange. Scratching my head

I can see the correct package here for CentOS 6.3. Maybe just manually wget the package for now until you figure out why Yum can get it

http://mirror.cs.vt.edu/pub/CentOS/6/os/i386/Packages/
compat-libstdc++-33-3.2.3-69.el6.i686.rpm



Does it say actually say "$releasever" or "6.2" in your /etc/yum.repos.d/Centos.repo
 
2 members found this post helpful.
Old 09-12-2012, 11:44 AM   #11
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi

below are the files in yum.repos.d
Code:
ls -ltrh /etc/yum.repos.d/
total 36K
-rw-r--r--. 1 root root  183 Oct  7  2011 adobe-linux-x86_64.repo
-rw-r--r--. 1 root root  179 Oct  7  2011 adobe-linux-i386.repo
-rw-r--r--. 1 root root 1.3K Oct 21  2011 rpmforge-el6.repo
-rw-r--r--. 1 root root  221 Oct 24  2011 atrpms-stable-el6.repo
-rw-r--r--. 1 root root  626 Dec  8  2011 CentOS-Media.repo
-rw-r--r--. 1 root root  637 Dec  8  2011 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 1.9K Dec  8  2011 CentOS-Base.repo.orig
-rw-r--r--. 1 root root 2.3K May  3 15:58 centos-internal-mirror-el6.repo
-rw-r--r--. 1 root root  673 May  3 16:05 vmware-tools5.x-el6.repo
when i do yum repolist
Code:
yum repolist

repo id                                                               repo name                                                                                            status
custom                                                                CentOS-6 - Custom JCVI                                                                                  33
srv-centos62                                                          CentOS-6 - Server CentOS 62 x86_64 - Locked                                                          3,777
repolist: 3,810
 
Old 09-12-2012, 12:07 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by linuxandtsm View Post
when i do yum repolist
Code:
yum repolist

repo id                                                               repo name                                                                                            status
custom                                                                CentOS-6 - Custom JCVI                                                                                  33
srv-centos62                                                          CentOS-6 - Server CentOS 62 x86_64 - Locked                                                          3,777
repolist: 3,810
Have you been playing with your repos? You're missing the main one (base, which happens to be where this package is located). On my Cent6.3 machine:
Code:
# yum repolist

repo id              repo name                                            status
atrpms               Red Hat Enterprise Linux 6 - x86_64 - ATrpms         2,815
base                 CentOS-6 - Base                                      6,346
extras               CentOS-6 - Extras                                        4
google-chrome        google-chrome                                            3
rpmforge             RHEL 6 - RPMforge.net - dag                          4,433
updates              CentOS-6 - Updates                                     552
repolist: 14,153

Last edited by suicidaleggroll; 09-12-2012 at 12:09 PM.
 
Old 09-12-2012, 12:48 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The CentOS-Base.repo has been renamed to CentOS-Base.repo.orig.
See post # 11.

I'd guess that the repos "custom" and "srv-centos62" have replaced it.
And the two probably are in a directory reffered to in /etc/yum.conf


.
 
  


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
libstdc++.so.6 (GLIBC_2.3.4) is needed by an application slasher_neo Linux - Newbie 3 06-30-2008 03:44 AM
libstdc++.so.6 needed for audacity 1.3.0b asdflol Linux - Software 1 07-17-2006 07:21 PM
libstdc++ help needed schulze Linux - Newbie 3 11-20-2005 11:49 AM
libstdc++-libc6.2-2.so.3 needed Weirdofreak Mandriva 1 09-18-2004 10:46 AM
Old Libstdc++ needed - But Conflicts - Help!! zer0snr Linux - Newbie 1 05-13-2004 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

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