在虚拟系统中无法使用ls命令,并提示错误报告ls:error while loading shared libraries,/usr/lib/libbibautil.so:can not restore segment prot after reloc:Permission denied
通过以下方法得到了解决。
1.编辑/etc/selinux/config,找到这段:
SELINUX=disabled
2.编辑/etc/sysconfig/selinux,找到:
SELINUX=disabled
在你保证SElinux 被disable后.还执行下
chcon -t texrel_shlib_t /usr/lib/libbibautil.so
如: chcon -t texrel_shlib_t /路径/路径/名字.so