LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2006, 03:12 PM   #1
Sir Loin
Member
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 79

Rep: Reputation: 15
libstdc++.so.5?


Everytime I try to install a browser, I get this message:
http://img70.imageshack.us/img70/8128/libstdcso5er5.png

Does anyone know what I can do to fix this? I really want to download a better, newer browser.


Thanks,
Sir Loin

Last edited by Sir Loin; 09-21-2006 at 03:17 PM.
 
Old 09-21-2006, 03:24 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
If you have a newer version of the library, i.e. libstdc++.so.6.xxx, I've seen some mailing lists suggesting that you symlink the newer version to the old, i.e.

$ ln -s /usr/lib/libstdc++.so.6.0.4 /usr/lib/libstdc++.so.5

(adjusting for your directory structure and where your libraries are kept. A quick 'locate libstdc' should hopefully point you in the right direction, provided you've already run 'updatedb' lately as root).

Another option is to search an rpm site, such as rpm.pbone.net or rpmfind.net for the libstdc++ package, and download & install the correct version for your distro. It's still worth knowing whether you have it installed and just need to update, have a newer version installed, or don't have it at all. Your distro probably has a mechanism for showing you information on installed packages.
 
Old 09-21-2006, 03:51 PM   #3
Sir Loin
Member
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 15
What do you mean by "$ ln -s /usr/lib/libstdc++.so.6.0.4 /usr/lib/libstdc++.so.5" - I'm VERY new to Linux. lol I did however go to www.rpmfind.net and download libstdc++.so.5, but to no avail.

When I try to install FireFox, I get this:
http://img69.imageshack.us/img69/4003/libstdcso5oa6.png

Am I doing something wrong? Can someone please help me install a better browser, or at least teach me how to install appications? I REALLY am going to need to learn how to install apps sooner or later...

Last edited by Sir Loin; 09-21-2006 at 03:56 PM.
 
Old 09-21-2006, 04:09 PM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Which disto are you using, btw? That makes a _huge_ difference in how applications are installed.

ln -s creates a symbolic link ("symlink"), which basically says "Whenever you see this file, just go automatically to this other file". Think of it as an automatic redirect, of a sort. In this case, it would be telling your system to create a file called /usr/lib/libstdc++.so.5, but whenever anything needs to use it, they should go directly to /usr/lib/libstdc++.so.6.0.4 instead. Do not pass go, do not collect $200.

I'm not saying that you should use that method now, since you found a package with the correct version.
So, you found libstdc++.so.5, installed it as root, and things are still complaining that they're missing it? I would recommend, first, to run 'ldconfig' as root. Sometimes it helps things, sometimes it doesn't, but I do it whenever I'm fooling around with libraries. Then drop back down out of root and try running firefox again as your normal user. If that still doesn't work, we'll need to figure out where it got installed, and where Firefox is looking for it

A final tidbit of information: with .sh files, you typically have to run them via the 'sh' command, like:

sh ./run-mozilla.sh

That might not do anything, since the firefox executable is what you're supposed to be running here. But it's worth knowing for future installation

Last edited by rose_bud4201; 09-21-2006 at 04:10 PM.
 
Old 09-21-2006, 04:16 PM   #5
Sir Loin
Member
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 15
I'm using Mandriva. When I ran Idconfig, nothing happened, well, nothing noticable happened. I can't do ANYTHING on Linux, it's so frustrating. lol
 
Old 09-21-2006, 04:38 PM   #6
Sir Loin
Member
 
Registered: Feb 2005
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 15
I just realized I HATE Linux. It is the worst. lol You can't do anything you actually want to do, and installing applications is a pain in the nuts. I don't know if Mandriva just sucks, or all distros suck. Linux is FAR from user-friendly.
 
Old 09-21-2006, 04:58 PM   #7
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Well, it depends, honestly, on what you want to do and how willing you are to tinker with it 'til it works. User-friendly OS? No. Something to while away a few extra hours [and probably more], and to take pride in once you have it working? IMO, yes. But it's all dependant on your point of view.

I've not actually used Mandriva (I had Mandrake awhile ago - it was my first distro, actually), and I kind of think that packaged managed distros are the worst when you're trying to do anything manually (which you are). I'm actually surprised that Mandriva didn't come with Firefox preinstalled (the website says that Firefox is Mandriva's default browser now), and that its software-management tool `urpmi` isn't able to download and install Firefox for you if for some reason it isn't preinstalled.

Installing things manually in a distro like Mandriva can be, yes, a royal pain in the nuts. That's because you're not supposed to do it. *shrug* You win some, you lose some...you get urpmi, you lose the ability to install things yourself.

(Note: anyone reading this can rightfully say that I use Slack, and yeah, talk about a potential nightmare for installing things. We could argue that all day and not be done, but let me just say that I am well aware of the downfalls of that distro's method as well.)

Last edited by rose_bud4201; 09-21-2006 at 05:05 PM.
 
Old 09-21-2006, 04:59 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by Sir Loin
I just realized I HATE Linux. It is the worst. lol You can't do anything you actually want to do, and installing applications is a pain in the nuts. I don't know if Mandriva just sucks, or all distros suck. Linux is FAR from user-friendly.
Try a few more distros and you may find one that suites you or if you find Linux too challengning then stick with Windows or try MacOS.

By the way the symlink thing does not work right. You need to do
Code:
#urpmi libstdc++5
 
Old 09-21-2006, 05:07 PM   #9
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Agreed reddazz - the symlink is a hack, and was suggested before I realized that he was still inexperienced at tinkering with his system. With Mandrake, urpmi is the way to go.
 
  


Reply



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
FC4 doesn't have libstdc++.so.5 but libstdc++.so.6 baosheng Fedora 14 04-06-2008 10:08 AM
libstdc++ 6? Ellops Slackware 2 04-16-2006 05:07 AM
libstdc++.so. hadiseh Linux - Software 5 02-26-2006 02:43 AM
libstdc++.so.6 MylesCLin Slackware 6 01-01-2005 06:52 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 AM.

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
Open Source Consulting | Domain Registration