error while loading shared libraries: cannot restore segment prot after reloc: Permission denied错误原因在于selinux禁用了访问此共享库
解决办法: 关闭selinux
1、编辑/etc/selinux/config文件,找到SELINUX=enforcing,改为SELINUX=disabled
2、编辑/etc/sysconfig/selinux文件,找到SELINUX=enforcing,改为SELINUX=disabled
3、重启电脑

本文介绍了解决因SELinux禁止访问共享库而导致的“errorwhileloadingsharedlibraries: cannotrestoresegmentprotafterreloc: Permissiondenied”错误的方法。通过将SELINUX=enforcing修改为SELINUX=disabled并重启电脑来关闭SELinux。

1262

被折叠的 条评论
为什么被折叠?



