LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-25-2005, 03:30 PM   #1
mynameisflorian
Member
 
Registered: Jul 2005
Location: Minneapolis, Minnesota
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
Realplayer claims it can't find "libstdc++.so.5"


I am trying to install RealPlayer on my mandrake 10.2 machine.

I tried the binary, but it tells me it can't find "libstdc++.so.5"

ok, so I tried the RPM; intalls fine, but when i try to run the "realplay" binary, it gives me the same error!

now, I'm a c++ programer, and I know for a fact that my system has the standard c++ libary installed, I've linked against it! (gcc -lstdc++ ...)

I've also had other similar problems, one configure script (for GTK) claimed that I needed to install X!

any ideas? I'm still "newer" to linux.

- Florian
 
Old 10-25-2005, 03:42 PM   #2
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 315

Rep: Reputation: 30
The reason you have this error

Quote:
but it tells me it can't find "libstdc++.so.5"
is because you don't have libstdc++.so.5

You have libstdc++.so.6 if I remember correctly. It's an easy fix though. Installing the older library won't conflict with the newer one as programs simply look for the one they need. It's a good idea to install this library as I've run across many non-official programs (and sometimes older programs that you can't find rpms for in the current release) that complain about missing that library. Simply install the rpm that provides that older library and you'll be set.

I think this rpm should do it for you:

http://rpmfind.net//linux/RPM/mandra...6mdk.i586.html

Sorry, I'd normally point you to rpm.pbone.net, but that site has been unusably slow for the past few days.
 
Old 10-25-2005, 05:25 PM   #3
mynameisflorian
Member
 
Registered: Jul 2005
Location: Minneapolis, Minnesota
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
thank you very much! I'm still getting the hang of it all!
 
Old 10-25-2005, 05:50 PM   #4
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 315

Rep: Reputation: 30
Quote:
thank you very much!
no problem, glad i could help

Quote:
I'm still getting the hang of it all!
me too

that's the point of my sig below

|
|
\/
 
Old 10-25-2005, 06:42 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Actually you don't need to get packages from old versions like that. Use urpmi or menu->System->Configuration->Packaging->Install Software to install the libstdc++5 package. This way you get the compatability package for your distro - just downloading libstdc++ for Mandrake 10.0 like that will replace your existing libstdc++ (version 6 probably), which could cause a lot of problems.

The package is named 'libstdc++5' and if it can't find it visit http://easyurpmi.zarb.org first.
 
Old 10-25-2005, 07:00 PM   #6
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 315

Rep: Reputation: 30
tkedwards is probably right. This is what happens when I can't use rpm.pbone.net and have to look for packages using random google searches. This package was called libstdc++5 so I thought it was the correct one, but the site doesn't have an included file list, so I don't know exactly what it installs.

EDIT: I double checked. If you've already installed this, it shouldn't replace anything because according to rpm.pbone.net, it only installs two things.

Quote:
Content of RPM :
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.5
So it won't write over your newer library files. I had to ask about this one myself when I first installed it, but there is only one real file included in this package (the first file is just a link to the second), which is why they don't usually cause conflicts.

In simplest terms, if you've already installed this, don't worry too much as it shouldn't have really harmed anything.

Last edited by springshades; 10-25-2005 at 07:11 PM.
 
Old 10-25-2005, 10:01 PM   #7
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
does making a soft link work?
Code:
cd /usr/lib
ln -s libstdc++.so.6 libstdc++.so.5
 
Old 10-25-2005, 11:09 PM   #8
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 315

Rep: Reputation: 30
Quote:
does making a soft link work?
I wouldn't recommend this. The program will probably start up okay, but the libraries might be fairly different, so it could cause issues in functionality.
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
Realplayer wont launch on FC4 - cannot find libstdc++.so.5 pacificred Linux - Software 1 07-27-2005 04:12 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
NRF says SCO's claims "without merit"!! Richey General 0 05-10-2004 07:50 AM
rpm -q claims "installed" but rpm -ivh claims "already installed" topgunjones Linux - Software 3 01-29-2004 08:31 PM

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

All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration