LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-25-2005, 10:23 AM   #1
turalo
Member
 
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 115

Rep: Reputation: 19
Question [B]Shared libraries problem, help please[/B]


It seems that this problem has somthing to do with sharedlibraries. after I restarted fedora, nothing changed, so I installed the realplayer with rpm manager. after that I tryd to play some music, but it still didnot work. and when I try to start realplyer in shell it says
"[root@localhost bin]# realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
"
does sombody know how to go verder ???

or maybe is there some other music player wich is easy to install, I want to use it to play mp3 files.
 
Old 12-25-2005, 10:34 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
you don't have libstdc++ which is usually part of the gcc package. I'd fathom a guess that since you're using fedora, you don't have gcc installed since this package has always been a part of the gcc development tools. Check your install cds and install the all the developer's tools. Mind you I don't know where or what you should look for though as I never install those things after the fact, but always during the initial install. I've seen that trying to install developer tools after the fact is always a pain in the ass for an rpm based distro.
 
Old 12-25-2005, 10:59 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
To start with, as root:
Code:
/sbin/ldconfig
updatedb
locate libstdc\+\+\.so
The first command updates the 'loader cache' to make sure that the loader is looking for libraries in the correct places.

The next and third commands do a high-speed locate by filename ("updatedb" being run in this example to be sure that it's up-to-date... not necessary every time).

If the library truly does not exist, there are two possibilities: the library does not exist at all, or version ".5" of that library does not exist.
 
Old 12-25-2005, 12:22 PM   #4
turalo
Member
 
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 115

Original Poster
Rep: Reputation: 19
RealPlayer10GOLD.bin
RealPlayer10GOLD.rpm
xmms-1.2.10
[root@localhost downloads]# realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: libstd c++.so.5: cannot open shared object file: No such file or directory
[root@localhost downloads]# ./RealPlayer10GOLD.bin
./RealPlayer10GOLD.bin: error while loading shared libraries: libstdc++.so.5: ca nnot open shared object file: No such file or directory
[root@localhost downloads]# locate libstdc\+\+\.so
/usr/lib/gcc/i386-redhat-linux/4.0.0/libstdc++.so
/usr/lib/libstdc++.so.6.0.4
/usr/lib/libstdc++.so.6
[root@localhost downloads]# /usr/lib/libstdc++.so.6
Segmentation fault
[root@localhost downloads]# /usr/lib/libstdc++.so.6
Segmentation fault
[root@localhost downloads]# /usr/lib/libstdc++.so.6.0.4
Segmentation fault
[root@localhost downloads]#
 
  


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
shared libraries problem after install shadow-4.0.4.1 oluijks Linux From Scratch 0 05-11-2004 04:10 PM
Problem with shared libraries(gtk) k0ljat Linux - Software 1 04-12-2004 01:25 PM
Idraw shared libraries problem sicone Linux - Software 2 03-16-2004 08:49 PM
problem with shared libraries when printing blinux1 Linux - Newbie 4 03-25-2003 05:03 PM
ldsym, shared libraries, problem with castng alexphyd Linux - General 2 12-08-2002 08:14 PM

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

All times are GMT -5. The time now is 02:57 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