0
0

I’m trying to use fmod-ex with Fedora Core 6, but unfortunately, it won’t work. The problem is that Fedora Core 6 uses SElinux for security, and fmod-ex isn’t compatible with SElinux. I think this is going to become increasingly a problem, since SElinux is growing in popularity and I think more and more distributions are likely to enable it by default.

To make a shared library compatible with SElinux, you have to compile the library with the -fPIC compiler option.

Is there any likelihood of this happening soon?

  • You must to post comments
0
0

No comment? This is a serious bug in fmod, no?

  • You must to post comments
0
0

FMOD Ex on Linux has always been compiled with -fPIC. "Not working" isn’t very descriptive, how is it "not working"? Have you tried building and running the examples? Is it crashing, returning error codes or something else?

  • You must to post comments
0
0

When SElinux is enabled, you cannot use any shared library that contains a TEXTREL. The error you get if you try to use such a library is:

Error: cannot restore segment prot after reloc: Permission denied

The command to detect a TEXTREL in a shared object is:

readelf -d libfmodex.so | fgrep -q TEXTREL

If it prints anything, the library contains textrels. Fmod-ex does. So do several of the plugin DSP libraries.

Here is a web page with more information about how to build a library without TEXTRELs:

http://people.redhat.com/drepper/textrelocs.html

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.