'''Q: After install EMAN2. When run e2.py or other eman2 program. I get error message like: Traceback (most recent call last): File "/home/eman32/EMAN2/bin/e2display.py", line 44, in from emselector import EMBrowserModule File "/home/eman32/EMAN2/lib/emselector.py", line 41, in from emimage2d import EMImage2DModule File "/home/eman32/EMAN2/lib/emimage2d.py", line 47, in import emshape File "/home/eman32/EMAN2/lib/emshape.py", line 39, in from libpyGLUtils2 import * ImportError: /home/eman32/EMAN2/lib/libGLEM2.so: cannot restore segment prot after reloc: Permission denied''' '''Solution:''' When packaging an application on RHEL or CentOS, you may receive the following error: cannot restore segment prot after reloc: Permission denied This is likely due the the SE Linux setting being set to "enforcing" . To Temporarily disable enforcement on a running system /usr/sbin/setenforce 0 To permanently disable enforcement during a system startup change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot. . By default, CentOS 5 has the SE Linux feature set to "enforcing".