Error loading shared libraries--everything's broken!
When I boot up my computer, a whole lot of services that rely on shared libraries fail to load, with some variation of the following message:
Code:
Code:
[root@Meg root]# locate libkrb5.so.3 Code:
gcc -g -O2 -o .libs/imlib2 main.o -L/usr/X11R6/lib ../src/.libs/libImlib2.so Code:
twm: error while loading shared libraries: libX11.so.6: Because of something I vaugely remember from trying LFS a while back, I ran this command to see if my dynamic loader was still there: Code:
[root@Meg imlib2-1.1.2]# readelf -l /bin/cat | grep interpreter HELP! |
Is the path to the libraries (/usr/kerberos/lib) in /etc/ld.so.conf ? If not, add it, run ldconfig, and try again. If it's already there, try running ldconfig anyway. Also, try adding the path to the LD_LIBRARY_PATH variable.
I experienced some weird problems, which were quite similar, and this worked for me. |
the only thing i can think of is a
chmod -R gone bad bogus permission bobulation or destroyed /etc/ld.so.conf and it's binaries made with "ldconfig" easy enough to rebuild to see |
I don't know how it happened, but it turns out that I had somehow reset my /etc/ld.so.conf file. Adding the required paths to it and running ldconfig worked nicely. Big thanks!
|
All times are GMT -5. The time now is 10:23 AM. |