LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libstdc++.so.5 problems (https://www.linuxquestions.org/questions/linux-newbie-8/libstdc-so-5-problems-591618/)

brokenpromises 10-13-2007 10:21 PM

libstdc++.so.5 problems
 
Hello,

OS is CentOS 5.

I installed Lotus Domino, and upon starting it as instructed, I got this error:

Code:

[notes@testsrv notesdata]$ /opt/ibm/lotus/bin/server
/opt/ibm/lotus/notes/latest/linux/tunekrnl: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
/opt/ibm/lotus/notes/latest/linux/server: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

I thought this was a problem with the library not being found, so I located libstdc++.so.5 and created a symlink:

Code:

root@testsrv /usr/lib $ ln -s /usr/lib/libstdc++.so.5 /usr/local/lib/libstdc++.so.5
But that did not fix the problem:

Code:

[notes@testsrv notesdata]$ /opt/ibm/lotus/bin/server
/opt/ibm/lotus/notes/latest/linux/tunekrnl: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Error 40
/opt/ibm/lotus/notes/latest/linux/server: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Error 40

A quick google suggests that the command to fix this is

Code:

yum install compat-libstdc++
However this is what I get:

Code:

root@testsrv /usr/lib $ yum install compat-libstdc++
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras        100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                  100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 323 kB    00:01
updates  : ################################################## 731/731
Added 8 new packages, deleted 0 old in 0.62 seconds
Parsing package install arguments
Nothing to do

Any ideas on what is wrong here?

Any help appreciated!

Junior Hacker 10-13-2007 10:34 PM

The package required is:
compat-libstdc++-33-3.2.3-61.i386.rpm
Is this package installed?

brokenpromises 10-14-2007 12:50 AM

Quote:

Originally Posted by Junior Hacker (Post 2923434)
The package required is:
compat-libstdc++-33-3.2.3-61.i386.rpm
Is this package installed?

How do I check?

brokenpromises 10-14-2007 12:58 AM

All fixed: Just ran this

Code:

yum install compat-libstdc++-33
and now the program runs.

Junior Hacker 10-14-2007 12:52 PM

Quote:

Originally Posted by brokenpromises (Post 2923508)
How do I check?

For the record, after a fresh installation of Fedora there will be a list of all installed packages in /root called "install.log". This list is not in alphabetical order, once you update your copy of Fedora there will be a list in alphabetical order in /var/log/ called "rpmpkgs", this list gets updated every time you do updates. Although you said you're running CentOS, your profile suggests you're running FC6, look in these areas of CentOS to see if it also contains these lists.

ray_80 10-14-2007 01:27 PM

Quote:

Originally Posted by Junior Hacker (Post 2923902)
For the record, after a fresh installation of Fedora there will be a list of all installed packages in /root called "install.log". This list is not in alphabetical order, once you update your copy of Fedora there will be a list in alphabetical order in /var/log/ called "rpmpkgs", this list gets updated every time you do updates. Although you said you're running CentOS, your profile suggests you're running FC6, look in these areas of CentOS to see if it also contains these lists.

rpm -qa > rpms-install.txt

sort rpms-install.txt (if you want it to be in alphabetical order.)


man rpm

Hope this helps


Regards


All times are GMT -5. The time now is 03:29 PM.