First of all, I hope this is the right site to be posting this to.
I get these errors when logging in as another user (ignatius):
catch22bbs:~/Desktop # su ignatius
ls: error while loading shared libraries: libpcre.so.1: cannot open shared object file: Permission denied
And, also when running certain programs. Most of them don't work.
ignatius@catch22bbs:~> pico
pico: error while loading shared libraries: libmagic.so.1: cannot open shared object file: Permission denied
Here's the strange part:
catch22bbs:~ # l /usr/lib/libpcre.so*
lrwxrwxrwx 1 root root 16 Jun 29 06:04 /usr/lib/libpcre.so -> libpcre.so.1.2.7*
lrwxrwxrwx 1 root root 16 Jun 29 06:04 /usr/lib/libpcre.so.1 -> libpcre.so.1.2.7*
-rwxr-xr-x 1 root root 488800 Jun 29 06:04 /usr/lib/libpcre.so.1.2.7*
And..
catch22bbs:~ # l /usr/lib/libmagic*
lrwxrwxrwx 1 root root 17 Mar 14 05:53 /usr/lib/libmagic.so.1 -> libmagic.so.1.0.0
-rw-r--r-- 1 root root 137032 Mar 14 05:55 /usr/lib/libmagic.so.1.0.0
I'm running openSuSE Tumbleweed. I've never had this problem in the past. I'm not sure what the problem is.
ldconfig
and then check..$LD_LIBRARY_PATH
set? If so,unset LD_LIBRARY_PATH
and see if that solves the problem.ls -ld / /usr /usr/lib
say? Seems like you messed up some of parent directory permissions.