LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 06-06-2007, 09:21 PM   #1
rm_-rf_windows
Member
 
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 146

Rep: Reputation: 17
RealPlayer Error: "libstdc++.so.5" problem


I've installed RealPlayer on Mandriva 2007 Free (aka "2007.0") using the .rpm download (rpm -ivh RealPlayer10GOLD.rpm) from their site. It installed very quickly, appears in the menu, but when I try to launch it, it doesn't open up. When I try from the command line, I get:

Code:
# realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: 
libstdc++.so.5: cannot open shared object file: No such file or directory
I did lots of Googling, and tried to find and install libstdc++.so.5 and many variants of it using 'urpmi', the Mandriva installation tool: No such library available. I did a fuzzy search:

Code:
[root@localhost ~]# urpmq --fuzzy libstdc
libstdc++2.10
libstdc++2.10-devel
libstdc++5
libstdc++5-devel
libstdc++5-static-devel
libstdc++6
libstdc++6-devel
libstdc++6-static-devel
[root@localhost ~]#
...but don't know enough about libraries, dependencies, etc. and what I'm doing in general to install any of the above.

Does anybody have a solution to this problem, and if so, could you give me fairly clear instructions as to what needs to be done? I'm not completely new at all of this stuff, but I'm no expert either.

Many thanks.

Last edited by rm_-rf_windows; 06-07-2007 at 06:27 AM.
 
Old 06-07-2007, 08:33 AM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I don't have Mandrake experience, however this is identical to a problem seen in Fedora. Realplayer is built with GCC3.x and Mandrake probably uses GCC4.x. So in this case will need a compatibility library. In Fedora this is called 'compat-libstdc++-33'. I do not know its name in Mandrake, however I am sure installing that library should fix your problem.

The following is from fedora:
Code:
# ldd /usr/local/RealPlayer/realplay.bin | grep libstdc++.so.5
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00112000)
# rpm -qf /usr/lib/libstdc++.so.5
compat-libstdc++-33-3.2.3-61

Last edited by mjmwired; 06-07-2007 at 08:37 AM.
 
Old 06-07-2007, 09:58 AM   #3
rm_-rf_windows
Member
 
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 146

Original Poster
Rep: Reputation: 17
Thanks for your reply, mjmwired.

I fixed it!

Strange thing though... When I did:
Code:
# urpmq libstdc++.so.5
I got nothing.


When I did:
Code:
# urpmi libstdc++.so.5
I got a prompt to install a different file with a warning (actually, I'm not sure, read on...). I answered yes, and, ta-tah!, it worked!

It didn't install libstdc++.co.5, it installed something else, but it works nevertheless. Unfortunately, I closed the terminal window, so I can't give you any additional information. Sorry about that. Actually, I'm not sure what it installed exactly, but the message I got before choosing 'y' contained some other information. Did it install several libraries, the one in question as well as one of which had a warning attached to it?

Now when I do:
Code:
$ ldd /usr/local/RealPlayer/realplay.bin
I do get libstdc++.so.5. The line reads:
Code:
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb78b7000)
Don't know what all of this means, other than the fact that RealPlayer is up and working. If anyone cares to enlighten me on the subject, I'm all ears. I hope this information is helpful to others having the same or similar problems.
 
Old 06-07-2007, 10:20 AM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
What is the output of
# rpm -qf /usr/lib/libstdc++.so.5

I think mandrake and fedora support the same RPM options.
 
Old 06-07-2007, 01:28 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
On Mandriva the package is called libstdc++5 but on Redhat/Fedora based distros, the package is called compat-libstdc++-33.
 
Old 06-07-2007, 03:06 PM   #6
rm_-rf_windows
Member
 
Registered: Jun 2007
Location: Europe
Distribution: Ubuntu
Posts: 146

Original Poster
Rep: Reputation: 17
Code:
[linux@localhost ~]$ rpm -qf /usr/lib/libstdc++.so.5
libstdc++5-3.3.6-3mdk
[linux@localhost ~]$
 
  


Reply

Tags
realplayer


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Realplayer claims it can't find "libstdc++.so.5" mynameisflorian Linux - Software 7 10-25-2005 11:09 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
RealPlayer child process "_LOCATION_/realplay" not found error krome Red Hat 1 11-11-2003 02:23 AM


All times are GMT -5. The time now is 01:13 PM.

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