Hello everyone,
I'm not sure what I installed to cause this problem but anytime I try to run rpm now I get this error:
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
This is also keeping me from running OpenOffice and a few other apps. I've try to find the solution with the help of my old friend google but no luck. Obviously I can't fix it by upgrading or re-installing libstdc ++ via rpm because rpm won't work.
Does anyone have an idea how I can fix this problem?
Thank you so much.
jack
On 1/2/07, jack wallen jlwallen@monkeypantz.net wrote:
Hello everyone,
I'm not sure what I installed to cause this problem but anytime I try to run rpm now I get this error:
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
This is also keeping me from running OpenOffice and a few other apps. I've try to find the solution with the help of my old friend google but no luck. Obviously I can't fix it by upgrading or re-installing libstdc ++ via rpm because rpm won't work.
Does anyone have an idea how I can fix this problem?
Try looking in /usr/lib to see if you have libstdc++. On my FC5 box, I have libstdc++.so.6, which is a symbolic link to libstdc++.so.6.0.8, which also exists in that directory.
If you have those (or some variant that looks reasonable), then you might have a funny environment variable, such as LD_LIBRARY_PATH or LD_PRELOAD, or something like that.
If you don't have the actual library, then you could ask somebody (possibly somebody on this list, possibly even me :-) for a copy -- Not knowing what system you are running, I have no idea whether 6.0.8 would be compatible with what you've got, but it might be enough to get you back to life. If you're just missing the link, then go ahead and recreate it.
Thank you so much.
jack
Don't thank me until/unless you find out that this helps :-)
--wpd
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
You've removed the C++ library.
This is also keeping me from running OpenOffice and a few other apps. I've try to find the solution with the help of my old friend google but no luck. Obviously I can't fix it by upgrading or re-installing libstdc ++ via rpm because rpm won't work.
Does anyone have an idea how I can fix this problem?
Copy the libstdc++.so.6 from a working box into the right place (/lib or /usr/lib). Then use rpm to reinstall the package back over the file you stuck there temporarily.
jack wallen wrote:
Hello everyone,
I'm not sure what I installed to cause this problem but anytime I try to run rpm now I get this error:
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory ...
You have a couple of good suggestions on fixing this; I'm more worried about how it happened. There's no way installing or upgrading something should have broken this (at least that I can think of). As long as some installed package, like oh, say rpm, requires this library, it should never be removed by rpm.
Even if you upgrade rpm itself, and the upgrade needs a new library, rpm is smart enough to know that the pre-requisites must be installed first, so you don't break the upgrade in the middle.
Linux is perfectly happy to have multiple library versions installed, so again. there's no reason this library should have been removed.
Did you delete something manually? Did you install or upgrade something using "nodeps" or "force"?
Good luck, this is a fun thing to resolve ;-)
<Joe
On Tue, 2007-01-02 at 10:29 -0500, jack wallen wrote:
Hello everyone,
I'm not sure what I installed to cause this problem but anytime I try to run rpm now I get this error:
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
This is also keeping me from running OpenOffice and a few other apps. I've try to find the solution with the help of my old friend google but no luck. Obviously I can't fix it by upgrading or re-installing libstdc ++ via rpm because rpm won't work.
Does anyone have an idea how I can fix this problem?
Thank you so much.
jack
I'd suggest you reinstall libstdc and use the --force command line.
-However-, before you do. 1. What Fedora version are you using? 2. What arch are you using? (i386, x86_64)
- Gilboa
On Tue, 2007-01-02 at 19:50 +0200, Gilboa Davara wrote:
I'd suggest you reinstall libstdc and use the --force command line.
-However-, before you do.
- What Fedora version are you using?
- What arch are you using? (i386, x86_64)
- Gilboa
i'm using FC6 on i386.
i can't actually run rpm because i'm getting that error. i tried copying a version of the file to /usr/lib but it was a version from Ubuntu. obviously - won't work. i have to track down that file on an FC machine i guess.
On Tue, 2007-01-02 at 13:03 -0500, jack wallen wrote:
On Tue, 2007-01-02 at 19:50 +0200, Gilboa Davara wrote:
I'd suggest you reinstall libstdc and use the --force command line.
-However-, before you do.
- What Fedora version are you using?
- What arch are you using? (i386, x86_64)
- Gilboa
i'm using FC6 on i386.
i can't actually run rpm because i'm getting that error. i tried copying a version of the file to /usr/lib but it was a version from Ubuntu. obviously - won't work. i have to track down that file on an FC machine i guess.
fixed. my step daughter is running FC5 and her version worked just fine. thanks for all the help!!!