|
|
./bxv: error while loading shared libraries: /usr/lib/libborqt-6.9.0-qt2.3.so:
cannot restore segment prot after reloc: Permission denied
照说环境都设置好了阿,谁知道原因?
[fedora@nbyh bxviewer]$ cd /usr/local/bxviewer/
[fedora@nbyh bxviewer]$ ls -l
total 9344
-rwxr-xr-x 1 root root 1975160 Mar 7 2003 bxv
-rw-rw-r-- 1 root root 23 May 5 2004 bxvfq.ini
-rw-rw-r-- 1 root root 7766 Mar 7 2003 defaultbk.bmp
-rwxr-xr-x 1 root root 1062 Mar 7 2003 installbxv
-rwxr-xr-x 1 root root 7526184 Mar 7 2003 libborqt-6.9.0-qt2.3.so
~~~~~~~~~~~~~~
-rw-rw-r-- 1 root root 1930 Mar 7 2003 README
[fedora@nbyh bxviewer]$ ./bxv
./bxv: error while loading shared libraries: /usr/lib/libborqt-6.9.0-qt2.3.so:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cannot restore segment prot after reloc: Permission denied
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[fedora@nbyh bxviewer]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/fedora/bin
:/sbin:/usr/local/bxviewer
~~~~~~~~~~~~
[fedora@nbyh bxviewer]$ cat ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH HOME/bin:/sbin
export PATH
unset USERNAME
export LD_LIBRARY_PATH=/usr/local/bxviewer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export PATH=$PATH:/usr/local/bxviewer
~~~~~~~~~~~~~~~~~~~~~~~~~~
[fedora@nbyh bxviewer]$ ls -l /usr/lib/libborqt-6.9.0-qt2.3.so
lrwxrwxrwx 1 root root 43 Aug 6 11:48 /usr/lib/libborqt-6.9.0-qt2.3.so ->/us
r/local/bxviewer/libborqt-6.9.0-qt2.3.so |
|