[Mono-list] DllImport fails on native library.

spidey spidey at dataloss.nl
Sat Dec 22 08:41:31 EST 2007


Hello,
Loading a native library written in pure c, located in the application
directory doesn't want to load, debug output produces this:
Mono-INFO: DllImport error loading library './libtursiopsglue.so:
failed to map segment from shared object: Operation not permitted'.

I've googled for similar troubles but the only thing that seems to
come close is SELinux, but I running that.
Full debug output at http://apache.dataloss.nl/~spidey/debug.log , the
machine is x86 openSUSE 10.3 running mono 1.2.6 (same problem with
1.2.5.1),
AppArmor is turned off, also tried running it as root.

Any help would be appreciated. The application in question is Chris
Howie's Tursiops
(http://www.chrishowie.com/2007/12/03/tursiops-01-released/).

/d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071222/255a9b31/attachment.html 


More information about the Mono-list mailing list