LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I resolve install DB2v9.5 64bit/RHEL 5 64bit (libstdc++.so.5 is not found)? (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-resolve-install-db2v9-5-64bit-rhel-5-64bit-libstdc-so-5-is-not-found-683063/)

okonita 11-13-2008 02:05 AM

How do I resolve install DB2v9.5 64bit/RHEL 5 64bit (libstdc++.so.5 is not found)?
 
Hi all,
My environment is Vista 64bit, VMware running Red Hat Enterprise Linux 5 server machine, DB2v9.5 64bit.
While trying to install DB2 in this linux machine, I am getting a "The required library file libstdc++.so.5 is not found on the system". Doing a ls /usr/lib | grep libstdc* shows libstdc++.so.6, and libstdc++.so.6.0.8.

I have tried creating a symbolic link to it:

ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5
I run the install again. That failed.

I tried yum -y install compat-libstdc++-33.x86_64 and I got an earful:
yum -y install compat-libstdc++-33.x86_64
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: compat-libstdc++-33.x86_64
Nothing to do


At this point I am thoroughly frustrated.


Where can I find the right package for RHEL 5 libstdc++.so.5, download and how do I install it?

Can anyone help with this?

Quakeboy02 11-13-2008 02:06 AM

The right package is libstdc++5. Where you get it for RHEL, I have no idea.

lazlow 11-13-2008 02:15 AM

Quote:

This system is not registered with RHN.
RHN support will be disabled.
No Repositories Available to Set Up
Until you register with RH you cannot use their repos. If there are no repos available there is nothing that yum can install.


All times are GMT -5. The time now is 10:22 PM.