Solved

yum and rpm question

Posted on 2012-03-21
4
828 Views
Last Modified: 2012-03-21
I am using RHEL 6.2

I get the follwing issue on a rpm install

[root@xxxxxxxx01 wmq]# rpm -ivh gsk*.rpm
error: Failed dependencies:
        libstdc++.so.5()(64bit) is needed by gsk7bas64-7.0-4.23.x86_64
        libstdc++.so.5(CXXABI_1.2)(64bit) is needed by gsk7bas64-7.0-4.23.x86_64
        libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by gsk7bas64-7.0-4.23.x86_64

Open in new window


So I try to correct:

[root@xxxxxxxx01 wmq]# yum install libstdc++.so.5
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package compat-libstdc++-33-3.2.3-69.el6.i686 already installed and latest version
Nothing to do
[root@xxxxxxxx01 wmq]#


[root@xxxxxxxx01 wmq]# rpm -ivh gsk*.rpm
error: Failed dependencies:
        libstdc++.so.5()(64bit) is needed by gsk7bas64-7.0-4.23.x86_64
        libstdc++.so.5(CXXABI_1.2)(64bit) is needed by gsk7bas64-7.0-4.23.x86_64
        libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by gsk7bas64-7.0-4.23.x86_64
[root@xxxxxxxx01 wmq]#

Open in new window


It still does not see the library somehow

How can I fix this ?
0
Comment
Question by:Los Angeles1
  • 2
4 Comments
 
LVL 3

Expert Comment

by:rickygm
ID: 37749800
search  the package from src.rpm and make rpm for your distribution with rpmbuild --rebuild packe.src.rpm

example :

rpmbuild --rebuild gsk*.src.rpm

regardss
0
 
LVL 11

Accepted Solution

by:
jgiordano earned 500 total points
ID: 37749853
The program gsk is looking for the 64bit compat-libstdc++-33-3.2.3-69.el6.x86_64


try installing compat-libstdc++-33-3.2.3-69.el6.x86_64

the 32bit is already installed compat-libstdc++-33-3.2.3-69.el6.686
0
 

Author Comment

by:Los Angeles1
ID: 37749860
How do I get yum to install the 64 bit version of the library, as opposed to just the 32 bit version ?
0
 
LVL 11

Expert Comment

by:jgiordano
ID: 37749867
yum install compat-libstdc++-33-3.2.3-69.el6.x86_64


this asssumes that you are running 64bit RHEL.

If you are running 32bit you might not be able to install it.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now