On 1/2/07, jack wallen <jlwallen@xxxxxxxxxxxxxxx> 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