vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm getting the following error when I try to run certain programs. Most recently I downloaded and installed RealPlayer RPM. When I try and run the application the following error comes up. (error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory) Can someone please help me here? Thanks JW |
| |||
| jw wrote: > I'm getting the following error when I try to run certain programs. Most > recently I downloaded and installed RealPlayer RPM. When I try and run > the application the following error comes up. > > (error while loading shared libraries: libstdc++.so.5: cannot open > shared object file: No such file or directory) > > Can someone please help me here? Do you have such a library installed on your machine? I do: $ locate libstdc++.so.5 /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5.0.3 $ ls -l /usr/lib/libstdc++.so.5* lrwxrwxrwx 1 root root 18 May 19 11:33 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.3 -rwxr-xr-x 1 root root 709488 Feb 28 13:51 /usr/lib/libstdc++.so.5.0.3 On my system, Red Hat Enterprise Linux 3, it comes in package: $ rpm -qf /usr/lib/libstdc++.so.5.0.3 libstdc++-3.2.3-52 -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 07:00:00 up 55 days, 54 min, 3 users, load average: 4.25, 4.27, 4.15 |
| |||
| jw <jesswalton37@hotmail.com> wrote: > (error while loading shared libraries: libstdc++.so.5: cannot open > shared object file: No such file or directory) > > Can someone please help me here? Put it back or install it. What's your problem with that? In what way is the message difficult to understand - it says it isn't there, so put it there! Peter |
| |||
| "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message news:1ihms2-san.ln1@news.it.uc3m.es... > jw <jesswalton37@hotmail.com> wrote: >> (error while loading shared libraries: libstdc++.so.5: cannot open >> shared object file: No such file or directory) >> >> Can someone please help me here? > > Put it back or install it. What's your problem with that? In what way > is the message difficult to understand - it says it isn't there, so put > it there! Ye ghods, what a git. Peter is probably single-handedly responsible for turning off every newbie to Linux in his family, if not everyone he posts to on this group? Jess, where did you get the RealPlayer RPM? And for which OS and distribution are you trying to use it? libstdc++ is one of the really basic libraries, but those do get revised occasionally, and because RealPlayer is closed source and distributed as binaries, you may have to instlal compatibility libraries or do some fascinating wrappers to get a copy of the right version of that library in place for you to use. Under Fedora Core 4, for example, doing a "locate libstdc++" reveals that the current version of libstdc++ is libstdc++.so.6. And by the way, these libraries files with the ".so" on the end are called dynamic libraries. Like ..DLL files in the Windows world, they get loaded up when the program is run and are kept in certain locations, like /lib and /usr/lib, and tend to be shared by a lot of different programs so that the same library gets written only once and not duplicated for every program in the world. But the programs are "linked" to specific versions of the libraries, so that possibly incompatible libraries can exist on the same machnie with different versions. |
| |||
| On Tue, 2005-08-09 at 08:41 -0400, Nico Kadel-Garcia wrote: > "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message > news:1ihms2-san.ln1@news.it.uc3m.es... > > jw <jesswalton37@hotmail.com> wrote: > >> (error while loading shared libraries: libstdc++.so.5: cannot open > >> shared object file: No such file or directory) > >> > >> Can someone please help me here? > > > > Put it back or install it. What's your problem with that? In what way > > is the message difficult to understand - it says it isn't there, so put > > it there! > > Ye ghods, what a git. Peter is probably single-handedly responsible for > turning off every newbie to Linux in his family, if not everyone he posts to > on this group? Thanks for the patience. I downloaded the rpm from www.real.com/linux. I tried what you suggested and the locate command revealed: /usr/lib/libstdc++.so.6.0.5 /usr/lib/libstdc++.so.6 Can I have both libraries on the same machine? If so where do I obtain them and how to I go about installing? I'm not familiar with "wrappers". If it's not to much trouble can you explain in layman terms? Thanks again! > > Jess, where did you get the RealPlayer RPM? And for which OS and > distribution are you trying to use it? libstdc++ is one of the really basic > libraries, but those do get revised occasionally, and because RealPlayer is > closed source and distributed as binaries, you may have to instlal > compatibility libraries or do some fascinating wrappers to get a copy of the > right version of that library in place for you to use. > > Under Fedora Core 4, for example, doing a "locate libstdc++" reveals that > the current version of libstdc++ is libstdc++.so.6. And by the way, these > libraries files with the ".so" on the end are called dynamic libraries. Like > .DLL files in the Windows world, they get loaded up when the program is run > and are kept in certain locations, like /lib and /usr/lib, and tend to be > shared by a lot of different programs so that the same library gets written > only once and not duplicated for every program in the world. But the > programs are "linked" to specific versions of the libraries, so that > possibly incompatible libraries can exist on the same machnie with different > versions. > > |
| |||
| On Tue, 2005-08-09 at 07:07 -0400, Jean-David Beyer wrote: > jw wrote: > > I'm getting the following error when I try to run certain programs. Most > > recently I downloaded and installed RealPlayer RPM. When I try and run > > the application the following error comes up. > > > > (error while loading shared libraries: libstdc++.so.5: cannot open > > shared object file: No such file or directory) > > > > Can someone please help me here? > > Do you have such a library installed on your machine? I do: > > $ locate libstdc++.so.5 > /usr/lib/libstdc++.so.5 > /usr/lib/libstdc++.so.5.0.3 > > $ ls -l /usr/lib/libstdc++.so.5* > lrwxrwxrwx 1 root root 18 May 19 11:33 /usr/lib/libstdc++.so.5 -> > libstdc++.so.5.0.3 > -rwxr-xr-x 1 root root 709488 Feb 28 13:51 /usr/lib/libstdc++.so.5.0.3 > > On my system, Red Hat Enterprise Linux 3, it comes in package: > $ rpm -qf /usr/lib/libstdc++.so.5.0.3 > libstdc++-3.2.3-52 > > Jean, Apparently the Fedora 4 has the following: /usr/lib/libstdc++.so.6.0.5 /usr/lib/libstdc++.so. |
| |||
| jw <jesswalton37@hotmail.com> wrote: > On Tue, 2005-08-09 at 08:41 -0400, Nico Kadel-Garcia wrote: > > "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message > > news:1ihms2-san.ln1@news.it.uc3m.es... > > > jw <jesswalton37@hotmail.com> wrote: > > >> (error while loading shared libraries: libstdc++.so.5: cannot open > > >> shared object file: No such file or directory) > > >> > > >> Can someone please help me here? > > > > > > Put it back or install it. What's your problem with that? In what way > > > is the message difficult to understand - it says it isn't there, so put > > > it there! > > > > Ye ghods, what a git. Peter is probably single-handedly responsible for > > turning off every newbie to Linux in his family, if not everyone he posts to Shog off, pariah. Thanks. > Thanks for the patience. No problemo. > I downloaded the rpm from www.real.com/linux. What rpm? For what target distro? Anyway - you downloaded an rpm that needs a certain set of support libraries. EIther change your support libraries or change the rpm you downloaded. This is the first time you have mentioned an rpm, no? > I tried what you suggested and the locate command revealed: > > /usr/lib/libstdc++.so.6.0.5 > /usr/lib/libstdc++.so.6 Fine. So? (I don't have those libs). > Can I have both libraries on the same machine? What libraries? Do you mean stdc++.so.5 as well? Yes of course! That's the whole idea of them having different major numbers. > If so where do I obtain them and how to I go about installing? Anywhere you like, and any way you like. What kind of a question is that? > I'm not familiar with "wrappers". What on earth do you mean? > If it's not to much trouble can you > explain in layman terms? Eh? A wrapper can be most anything. It's a loose term. You can write a script wrapper for realplayer that sets LD_LIBRARY_PATH to wherever you have stashed the support libs you need, then calls realplay. What's the idea? Why not get an rpm aimed at your platform instead? Or simply put the libs out in the open in your system? They don't do any harm. libstdc++.so.5 looks to me on my platform to be part of generic old c++ back-support. You should be able to fix your problem by simply getting an rpm aimed at your own libraries instead! More data on your part would enable us to perceive more accurately what your problem is. Peter |
| |||
| On Tue, 2005-08-09 at 16:33 +0200, Peter T. Breuer wrote: > jw <jesswalton37@hotmail.com> wrote: > > On Tue, 2005-08-09 at 08:41 -0400, Nico Kadel-Garcia wrote: > > > "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message > > > news:1ihms2-san.ln1@news.it.uc3m.es... > > > > jw <jesswalton37@hotmail.com> wrote: > > > >> (error while loading shared libraries: libstdc++.so.5: cannot open > > > >> shared object file: No such file or directory) > > > >> > > > >> Can someone please help me here? > > > > > > > > Put it back or install it. What's your problem with that? In what way > > > > is the message difficult to understand - it says it isn't there, so put > > > > it there! > > > > > > Ye ghods, what a git. Peter is probably single-handedly responsible for > > > turning off every newbie to Linux in his family, if not everyone he posts to > Shog off, pariah. Thanks. > > > Thanks for the patience. > > No problemo. > > > I downloaded the rpm from www.real.com/linux. > > What rpm? For what target distro? Anyway - you downloaded an rpm that > needs a certain set of support libraries. EIther change your support > libraries or change the rpm you downloaded. This is the first time you > have mentioned an rpm, no? > > > I tried what you suggested and the locate command revealed: > > > > /usr/lib/libstdc++.so.6.0.5 > > /usr/lib/libstdc++.so.6 > > Fine. So? (I don't have those libs). > > > Can I have both libraries on the same machine? > > What libraries? Do you mean stdc++.so.5 as well? Yes of course! That's > the whole idea of them having different major numbers. > > > > If so where do I obtain them and how to I go about installing? > > Anywhere you like, and any way you like. What kind of a question is > that? > > > > I'm not familiar with "wrappers". > > What on earth do you mean? > > > If it's not to much trouble can you > > explain in layman terms? > > Eh? A wrapper can be most anything. It's a loose term. You can write > a script wrapper for realplayer that sets LD_LIBRARY_PATH to wherever > you have stashed the support libs you need, then calls realplay. What's > the idea? Why not get an rpm aimed at your platform instead? Or simply > put the libs out in the open in your system? They don't do any harm. > libstdc++.so.5 looks to me on my platform to be part of generic old c++ > back-support. You should be able to fix your problem by simply getting > an rpm aimed at your own libraries instead! > > More data on your part would enable us to perceive more accurately what > your problem is. > > > Peter Peter, It seems to me that your not trying to percieve anything. However it is quite clear that you enjoy responding to these posts because it does something for your ego. Your by no means required to respond to any post. If you find the post is beneath your intellectual level it would probably be best for you as well as others if you just kept your responses to yourself. |
| |||
| jw <jesswalton37@hotmail.com> wrote: > > What rpm? For what target distro? Anyway - you downloaded an rpm that > > needs a certain set of support libraries. EIther change your support > > libraries or change the rpm you downloaded. This is the first time you > > have mentioned an rpm, no? > > Eh? A wrapper can be most anything. It's a loose term. You can write > > a script wrapper for realplayer that sets LD_LIBRARY_PATH to wherever > > you have stashed the support libs you need, then calls realplay. What's > > the idea? Why not get an rpm aimed at your platform instead? Or simply > > put the libs out in the open in your system? They don't do any harm. > > libstdc++.so.5 looks to me on my platform to be part of generic old c++ > > back-support. You should be able to fix your problem by simply getting > > an rpm aimed at your own libraries instead! > > > > More data on your part would enable us to perceive more accurately what > > your problem is. > It seems to me that your not trying to percieve anything. However it is > quite clear that you enjoy responding to these posts because it does > something for your ego. Eh? > Your by no means required to respond to any post. If you find the post > is beneath your intellectual level it would probably be best for you as > well as others if you just kept your responses to yourself. What the heck is the matter with you? Peter |
| ||||
| In comp.os.linux.setup jw <jesswalton37@hotmail.com>: > On Tue, 2005-08-09 at 16:33 +0200, Peter T. Breuer wrote: >> jw <jesswalton37@hotmail.com> wrote: >> > On Tue, 2005-08-09 at 08:41 -0400, Nico Kadel-Garcia wrote: >> > > "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message >> > > news:1ihms2-san.ln1@news.it.uc3m.es... >> > > > jw <jesswalton37@hotmail.com> wrote: >> > > >> (error while loading shared libraries: libstdc++.so.5: cannot open >> > > >> shared object file: No such file or directory) >> > > >> >> > > >> Can someone please help me here? >> > > > >> > > > Put it back or install it. What's your problem with that? In what way >> > > > is the message difficult to understand - it says it isn't there, so put >> > > > it there! [..] > It seems to me that your not trying to percieve anything. However it is > quite clear that you enjoy responding to these posts because it does > something for your ego. > Your by no means required to respond to any post. If you find the post > is beneath your intellectual level it would probably be best for you as > well as others if you just kept your responses to yourself. You mentioned, in your reply to Jean-David, you'd run FC 4i you should have pointed out this important information earlier. Just try (from some xterm, use 'su -' to become root or use sudo if configure): yum install compat-libstdc++ Or use 'up2date' to install the package. Peter already outlined in his first reply you'd simply need to install the package, you could have used 'yum search libstdc' to search for the needed file or used up2date. You want to get comfortable with the tools of your package manager (rpm), so you could have resolved the problem from just reading the error message, no rocket science involved. To get you started, try: man rpm man yum man up2date BTW Glad to hear "Discovery" came back successfully without further problems. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 302: microelectronic Riemannian curved-space fault in write-only file system |