Question
I ran an install of GMS on a Redhat Enterprise system and received the following errors:
./glminst: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory upgrading GMS ./glminst: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Found install in mv: cannot stat `/ntmunix.so': No such file or directory ./glmupgrade: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory upgrade failed (0) mv: cannot stat `/ntmunix.so.1': No such file or directory
What can I do to resolve this?
Answer
Because newer versions of Redhat do not retain backwards compatability, you may have problems installing GMS on a Redhat Enterprise Linux version 3 or 4 system.
To resolve this, first you need to ensure that the required backwards compatible packages are installed. These are listed under the Redhat “Add/Remove applications” manager as “Legacy Software Development” packages.
Once these are installed, simply follow the instructions on KB article 2097 and you should then be able to install GMS correctly.
It may also be necessary to manually install a package. If you continue to get install errors after installing the legacy software development packages, then do the following with your install media in the drive:
cd /media
cd cdrom
cd Fedora
cd RPMS
then run the following commands to install the required libraries.
rpm -ivh compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
Keywords:Redhat enterprise, Linux, libstdc++, libelf.so, libstdc++.so.5