[Mono-osx] DllExceptionNotFound When using p/invoke on OSX

Jonathan Pryor jonpryor at vt.edu
Fri Jan 28 13:23:31 EST 2011

On Nov 18, 2010, at 10:28 AM, dman1264 wrote:
> I am trying to call unmanaged code from managed c# code by using p/invoke. 

Make sure that libUnMan.dylib is in a directory contained in $DYLD_FALLBACK_LIBRARY_PATH, then run your app with additional diagnostic output:

	MONO_LOG_LEVEL=info MONO_LOG_MASK=dll mono yourapp.exe

This will print lots of trace messages when loading native libraries; hopefully the output will help further diagnose the issue.

 - Jon

More information about the Mono-osx mailing list