Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

yum and rpm question

Posted on 2012-03-21
4
Medium Priority
?
914 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:
Suggested Courses
Course of the Month5 days, 22 hours left to enroll

773 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