# fmod - linux runtime probs

## Recommended Posts

Eitsch    188
i ran into some problems with fmod and linux. i can link programs with libfmodex.so but when i try to run the app i get following message:
[root@localhost 3d]# ./3d
./3d: error while loading shared libraries: ../../api/lib/libfmodex.so: cannot restore segment prot after reloc: Permission denied
[root@localhost 3d]#

this problem occurs with the examples and also with my program. i am using: # FMOD Ex 4.06.22 (STABLE). Released 22nd June 2007. and all lib files are copied to /usr/lib. furthermore i copied these lib files into my apps folders but this didn't help either. i am running the apps as root so i just can't understand what this permission message should mean. i am new in linux development so maybe my problem is really dumb but...... thanks

##### Share on other sites
let_bound    488
Google says SELinux is enabled on your system, which can and will deny root some rights. Disabling/modifying it probably depends on your distro.

##### Share on other sites
Eitsch    188
thanks. with system-config-securitylevel i disabled it and now it works.

and: i have never heard of this SELinux stuff

rocks!

##### Share on other sites
niteice    268
However, the proper solution is to not run as root.