Solved

yum and rpm question

Posted on 2012-03-21
4
840 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 62
Sendmail STARTTLS error 37 79
AWS CLI - Issue with name display 2 50
Printing to old printer through Linux (CUPS) Print Server? 7 46
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

919 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

19 Experts available now in Live!

Get 1:1 Help Now