[PATCH] Latest libtheora release doesn't work with SELinux
When running a libtheora-using application on fc5 (which has SELinux), I get this error (in this case, from gstreamer, attempting to load the theoraenc plugin):
WARN (0x97b7940 - 0:00:00.282301000) ^[[00;01;36m GST_PLUGIN_LOADING^[[00m(^[[332m15721^[[00m) ^[[00;01;36mgstplugin.c(410):gst_plugin_load_file:^[[00m module_open failed: /usr/lib/libtheora.so.0: cannot restore segment prot after reloc: Permission denied
I assume this is somehow related to the new mmx stuff. This is a linux/x86-32 machine.
I also wrote a simple application which links to libtheora (it consists solely of "int main(void) {return 0;}", though). On running this on this fc5 machine, I get:
./test: error while loading shared libraries: /usr/lib/libtheora.so.0: cannot restore segment prot after reloc: Permission denied