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 禁用导致的错误 'error while loading shared libraries: cannot restore segment protection after relocation: Permission denied'。通过编辑配置文件和重启电脑来关闭 SELinux 解决问题。
798

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



