fmod - linux runtime probs

Started by
2 comments, last by niteice 16 years, 9 months ago
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
Advertisement
Google says SELinux is enabled on your system, which can and will deny root some rights. Disabling/modifying it probably depends on your distro.
thanks. with system-config-securitylevel i disabled it and now it works.

and: i have never heard of this SELinux stuff

rocks!
However, the proper solution is to not run as root.

This topic is closed to new replies.

Advertisement