LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'error loading shared libraries' with many apps (https://www.linuxquestions.org/questions/linux-newbie-8/error-loading-shared-libraries-with-many-apps-126848/)

Lilettante 12-18-2003 12:30 AM

'error loading shared libraries' with many apps
 
I have just finished installing fedora core 1. Trying to install new apps and most things abort with an error like

/usr/java/jdk1.3.1_10/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

The above, for example, on running java (after installing the jdk rpm).

I also had similar problems with the oracle installer, though it was possible a different .so

Any clues guys?

I am a linux dilettante!

jpbarto 12-18-2003 11:23 AM

first determine if you have the file:
(as root) 'updatedb && locate libstdc++'

if it lists libstdc++ (possibly in /usr/lib/libstdc++-libc6.1-1.so.2)
then you may just need to rexecute 'ldconfig' to repopulate the library database as to the library's existance.

jpbarto

Lilettante 12-18-2003 05:46 PM

Solved!
 
Thanks for the reply!,

I fixed it, realised that it was missing something which was in an RPM from redhat. I installed it and its working now!

Thanks

jpbarto 12-21-2003 08:46 PM

no problem


All times are GMT -5. The time now is 06:47 PM.