FaceAnkh
21st May 2006, 17:53
Since this has bitten at least two people, here's what I needed to do to get ATITD3 working (from the newest download on atitd.com):
As root:
yum install compat-libstdc++-33
(compat-libstdc++-296-2.965-135 is not the right one)
setsebool -P allow_execmod=1
(only needed if you use SELinux in enforcing mode)
As user (not root):
(do the install)
The setsebool line permanently (remove -P if you want it to be only for the current boot) allows some memory operations that SELinux disapproves of (http://people.redhat.com/drepper/selinux-mem.html for a fuller explanation, but it's probably related to having to build on older compilers for backwards compatibility).
The symptom of the SELinux problem is:
[user@localhost eClient]$ ./elaunch
./fltk-eclient: error while loading shared libraries: ./libfmod-3.72.so: cannot restore segment prot after reloc: Permission denied
and in the kernel logs (type "dmesg" on a command line):
audit(1148240572.787:152): avc: denied { execmod } for pid=3358 comm="3" name="libfmod-3.72.so" dev=md0 ino=4551789 scontext=user_u:system_r:unconfined_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=file
The symptom for the libstdc++ error is:
[user@localhost eClient]$ ./elaunch
./elaunch: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
As root:
yum install compat-libstdc++-33
(compat-libstdc++-296-2.965-135 is not the right one)
setsebool -P allow_execmod=1
(only needed if you use SELinux in enforcing mode)
As user (not root):
(do the install)
The setsebool line permanently (remove -P if you want it to be only for the current boot) allows some memory operations that SELinux disapproves of (http://people.redhat.com/drepper/selinux-mem.html for a fuller explanation, but it's probably related to having to build on older compilers for backwards compatibility).
The symptom of the SELinux problem is:
[user@localhost eClient]$ ./elaunch
./fltk-eclient: error while loading shared libraries: ./libfmod-3.72.so: cannot restore segment prot after reloc: Permission denied
and in the kernel logs (type "dmesg" on a command line):
audit(1148240572.787:152): avc: denied { execmod } for pid=3358 comm="3" name="libfmod-3.72.so" dev=md0 ino=4551789 scontext=user_u:system_r:unconfined_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=file
The symptom for the libstdc++ error is:
[user@localhost eClient]$ ./elaunch
./elaunch: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory