LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2007, 11:21 PM   #1
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Rep: Reputation: 21
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!

Last edited by brokenpromises; 10-13-2007 at 11:26 PM.
 
Old 10-13-2007, 11:34 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
The package required is:
compat-libstdc++-33-3.2.3-61.i386.rpm
Is this package installed?
 
Old 10-14-2007, 01:50 AM   #3
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by Junior Hacker View Post
The package required is:
compat-libstdc++-33-3.2.3-61.i386.rpm
Is this package installed?
How do I check?
 
Old 10-14-2007, 01:58 AM   #4
brokenpromises
Member
 
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Original Poster
Rep: Reputation: 21
All fixed: Just ran this

Code:
yum install compat-libstdc++-33
and now the program runs.
 
Old 10-14-2007, 01:52 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by brokenpromises View Post
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.

Last edited by Junior Hacker; 10-14-2007 at 01:54 PM.
 
Old 10-14-2007, 02:27 PM   #6
ray_80
Member
 
Registered: Oct 2007
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by Junior Hacker View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libstdc++.so.5 problems lashnjo Linux - Software 17 11-29-2010 07:53 PM
Problems with libstdc versions 5 and 6 mainemike Linux - Software 1 05-03-2006 09:42 AM
problems finding libstdc++.la Penguin Dropout Linux - Software 5 04-11-2005 06:21 PM
RPM problems with libstdc++.so.6 dangerousdave Linux - Newbie 5 02-17-2005 09:12 PM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration