Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

yum and rpm question

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 ?
Avatar of rickygm
rickygm
Flag of Nicaragua image

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
ASKER CERTIFIED SOLUTION
Avatar of jgiordano
jgiordano
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Los Angeles1
Los Angeles1

ASKER

How do I get yum to install the 64 bit version of the library, as opposed to just the 32 bit version ?
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.