The solution comes from this link: [http://www.ittvis.com/services/techtip.asp?ttid=3092 http://www.ittvis.com/services/techtip.asp%3Fttid%3D%33%30%39%32].

The best way is:

chcon -t texrel_shlib_t YOUR_EMAN_DIR/lib/*.so

or you can

Disabling SELinux altogether by setting the line SELINUX=disabled in your /etc/sysconfig/selinux file.

But this is not recommanded.