LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-29-2012, 03:39 PM   #1
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Rep: Reputation: Disabled
package compat-libstdc++-33-3.2.3-69.el6.i686 is already installed


HI All,

I am new to Linux, I need your invaluable help. I am trying to install the package package compat-libstdc++-33-3.2.3-69.el6.i686 on my laptop that is 32 bit (dual boot with Win7). The linux version I use is Oracle Linux 6.2. Before Installing the package I gave the command
rpm -a package compat-libstdc++ and got the message package not installed. When I tried to install it with the command
rpm -ivh compat-libstdc++* and following message is shown:
warning: compat-libstdc++-33-3.2.3-69.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
package compat-libstdc++-33-3.2.3-69.el6.i686 is already installed
file /usr/lib/libstdc++.so.5.0.7 from install of compat-libstdc++-33-3.2.3-69.el6.i686 conflicts with file from package compat-libstdc++-33-3.2.3-69.el6.i686

I then tried yum install compat-libstdc++-33-3.2.3-69.el6.i686 following message is shown:
Loaded plugins: aliases, changelog, downloadonly, presto, refresh-packagekit,
: security, tmprepo, verify, versionlock
Setting up Install Process
Nothing to do

I did the above commands as su. Kindly advise whether compat-libstdc++-33-3.2.3-69.el6.i686 is installed on my pc or not. If not please help me how to install it.

Thanks

Suresh Panchanathan
 
Old 01-29-2012, 04:09 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Sounds like it's already installed, you can verify the package to be sure it's not damaged - 'rpm -V <package_name>'
 
Old 01-29-2012, 09:53 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
do not use rpm to install software
use the tool "yum"

it install packages from the repos you have installed so that they ARE compatible and there are no conflicts

use "rpm" as a last resort

Code:
su -
yum search compat-libstdc 
-- there should be a few listed in the output --
yum install compat-libstdc++
and yum will solve the conflict

also do NOT use the full name " compat-libstdc++-33-3.2.3-69.el6.i686" will not work
"compat-libstdc++ " will work
and compat-libstdc++-33* "will work and also install everything with that in the name

Quote:
I did the above commands as su.
"su" probably will not work well
use " su - " --- that is S and a U and a DASH

Last edited by John VV; 01-29-2012 at 09:55 PM.
 
Old 01-29-2012, 10:30 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Quote:
"compat-libstdc++ " will work
I'm not sure that will work .. the '-33' is actually part of the name and theres also '-296'
 
Old 01-30-2012, 06:42 PM   #5
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi kbp,

As you have mentioned I logged in as su root and did the following to verify:
[root@OL6 suresh]# rpm -V compat-libstdc++-33-3.2.3-69.el6.i68

Once I hit the enter key I got the shell prompt once again like [root@OL6 suresh]#

No message was displayed.
 
Old 01-30-2012, 06:49 PM   #6
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi John,

I did as you have mentioned but got the below output:

[root@OL6 suresh]# su -
[root@OL6 ~]# yum search compat-libstdc
Loaded plugins: aliases, changelog, downloadonly, presto, refresh-packagekit,
: security, tmprepo, verify, versionlock
========================= N/S Matched: compat-libstdc ==========================
compat-libstdc++-296.i686 : Compatibility 2.96-RH standard C++ libraries
compat-libstdc++-33.i686 : Compatibility standard C++ libraries

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

[root@OL6 ~]# yum install compat-libstdc++
Loaded plugins: aliases, changelog, downloadonly, presto, refresh-packagekit,
: security, tmprepo, verify, versionlock
Setting up Install Process
No package compat-libstdc++ available.
Error: Nothing to do

I also did as follows:
yum install compat-libstdc++-296.i686
yum install compat-libstdc++-33.i686

Both ended with messages:

Setting up Install Process
No package <package name> available.
Error: Nothing to do
 
Old 01-30-2012, 06:53 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
i posted a typo , that kbp corrected

you DO NOT .i686 at the end

Code:
su -
yum install compat-libstdc++-33
 
Old 01-30-2012, 06:56 PM   #8
sureshpanchanathan
LQ Newbie
 
Registered: Jan 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
I tried as you have mentioned and got the same result:

[root@OL6 ~]# su -
[root@OL6 ~]# yum install compat-libstdc++-33
Loaded plugins: aliases, changelog, downloadonly, presto, refresh-packagekit,
: security, tmprepo, verify, versionlock
Setting up Install Process
Nothing to do

Then tried as follow but nothing happened:
[root@OL6 ~]# yum install compat-libstdc++-33*
Loaded plugins: aliases, changelog, downloadonly, presto, refresh-packagekit,
: security, tmprepo, verify, versionlock
Setting up Install Process
Nothing to
 
Old 01-30-2012, 10:19 PM   #9
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Then the packages are installed already .. on a side note, it will help if you understand how packages are named:

Lets take compat-libstdc++-33-3.2.3-69.el6.i686.rpm for example:
<name>-<version>-<release>[.optional_id].<arch>
Name: compat-libstdc++-33
Version: 3.2.3
Release: 69
ID: el6
Arch: i686

Yum uses package names and an optional .arch if on a 64 bit platform, for example on a x86_64 machine:
Code:
# install the 64 bit version
yum install compat-libstdc++-33

# install the 32 bit version
yum install compat-libstdc++-33.i686
If it says "nothing to do" .. then the package is already installed
 
Old 01-30-2012, 10:29 PM   #10
alokanand007
LQ Newbie
 
Registered: Dec 2008
Posts: 20

Rep: Reputation: 0
try to update the package using
yum update <package>
or remove the package and reinstall it using yum
 
Old 08-22-2012, 01:52 PM   #11
raistie
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Somebody please help me for i am at my wits end.
I have yum installed compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm on CentOS 6 together with latest gcc...
when i type gcc32, command still not found! can anyone help me please?
i urgently need to get gcc32 up and running because of this old code which i can't convert as yet or downgrade my os.

It would be great if you could point me to the proper rpm, or how i can get gcc32 running on my system...

Thank you
 
Old 08-23-2012, 04:00 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
Post # 11, @ raistie : compat-libstdc++-33 provides no gcc32.

rpm -ql compat-libstdc++-33 :
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7


# yum install compat-gcc-34-c++
.. will provide gcc34, g++34 : is the oldest you can get by default.

Which code is it, you want to compile ? ?

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[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
How to find libstdc++* or compat-libstdc++-* bopedibop Linux - Newbie 2 04-29-2008 09:53 AM
package compat-libstdc++ is not installed jimmyjiang Red Hat 4 04-16-2008 09:41 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
Cannot find compat-libstdc++ wearetheborg Mandriva 10 06-13-2006 05:27 PM


All times are GMT -5. The time now is 05:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration