Linux下执行程序时发生错误: cannot restore segment prot after reloc: Permission denied
Linux下执行程序时发生错误:cannotrestoresegmentprotafterreloc:Permissiondenied原来这是SELinux搞的鬼,解决办法有两个1.使用chcon命令示例:chcon-ttexrel_shlib_t/usr/local/rsi/idl_6.1/bin/bin.linux.x86/*.so2.禁止掉SELinux更改/etc/sysconfig/se