LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-26-2005, 08:12 PM   #1
Franziss
Member
 
Registered: Dec 2004
Posts: 35

Rep: Reputation: 15
error while loading shared libraries: libstdc++.so.5: cannot open shared object file:


I got this problem when i try to install any new program in fedora 4. why is it so?
 
Old 09-26-2005, 08:36 PM   #2
bertlef
Member
 
Registered: Dec 2004
Location: Costa Rica
Distribution: Ubuntu
Posts: 69

Rep: Reputation: 17
If it happens when you go Make could be because of the folder you are working in, I haven't used FC since v1 but in slackware you are restricted to install software only in certain folders, for example /tmp

Please be more specific.
 
Old 09-26-2005, 08:41 PM   #3
Franziss
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i download thunderbird installation, extract out the folder. under the folder, i type "./thunderbird" and the error message appear.

Then i copy the folder into /tmp and type "./thunderbird", but the error message still appears..

thanks for your help! =)

Last edited by Franziss; 09-26-2005 at 08:48 PM.
 
Old 09-26-2005, 08:53 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
There are already thunderbird packages for Fedora, you don't need to download it from mozilla.org. Try using yum to install thunderbird.

If you still want to use the unpackaged version from mozilla.org make sure you install the compat-libstdc++-33 package (it may be compat-libstdc++ in fedora) using yum.
 
Old 09-26-2005, 10:01 PM   #5
bertlef
Member
 
Registered: Dec 2004
Location: Costa Rica
Distribution: Ubuntu
Posts: 69

Rep: Reputation: 17
Are you root?

May be out of your path: echo $PATH.
And find if the file is there, if not make a link.

Last edited by bertlef; 09-26-2005 at 10:03 PM.
 
Old 09-26-2005, 10:08 PM   #6
Franziss
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
sorry, i'm a newbie. So i type "yum install compat-libstdc++"?
yes, i log in as root in Fedora
 
Old 09-26-2005, 10:25 PM   #7
Franziss
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i download the package libstdcc from some where and install its rpm package. it can work now! thanks guys! =)
 
Old 09-26-2005, 10:52 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Yes
Code:
yum install compat-libstdc++
is correct. You should read this section of the Fedora FAQ about installing software: http://www.fedorafaq.org/#getsoftware

Using yum should help you avoid probs like this in future
 
Old 09-27-2005, 12:27 AM   #9
Franziss
Member
 
Registered: Dec 2004
Posts: 35

Original Poster
Rep: Reputation: 15
ok, thanks for the help guys! I appreciate it.
 
Old 09-24-2006, 02:10 AM   #10
bzposse
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
This thread has helped me too!!!!!

yum install compat-lib* worked for me...This is on FC4

Thanks all...
 
Old 06-28-2010, 05:47 AM   #11
WindsofTime
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
I don't mean to bump an old topic here but..

I recently found this post by searching with Google and decided to join in order to ask this:

I still am having troubles getting this to work with my game server files. The files were originally written in an RedHat Linux OS many years ago.

It requires the lib mentioned at the beginning of this topic (but is libstdc++-libc6.1-1.so.2), yet when I tried installing via:

"yum install compat-libstdc++" it returned saying no such package. (This is in the current Fedora 13 OS)

I then tried the "yum install compat-lib*" and it proceeded to download and install a plethora of stuff. Which now when I tell the game server to start and it executes the daemonctl which uses the required library.. it just goes silent and nothing else happens.

I don't know what I am doing wrong or if perhaps I need that specific library instead of all these new updated ones.

Any suggestions would be appreciated

Last edited by WindsofTime; 06-28-2010 at 06:01 AM. Reason: Specific details
 
  


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
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libstdc++-libc6.1-1.so.2 pikiemeow Linux - Software 2 10-27-2004 08:49 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM
linux init error in loading shared shared libraries akaran Linux - Software 1 05-28-2003 04:40 AM


All times are GMT -5. The time now is 11:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration