[Mono-osx] monodevelop and DllNotFoundException

David Burnett vargol at ntlworld.com
Wed Jul 6 15:02:31 EDT 2005


I'm trying to use Attila's mono/monodevelop install and I'm getting a 
DllNotFoundException.

I've tried every trick I know to get it to work including hard coding 
the path in the config file but not change. Are their any known issues 
with Mono's dll importing on OSX (Panther 10.3.9) ?


vargol$ export 
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib:/Library/Frameworks/Mono.framework/Versions/Current/lib

vargol$ monodevelop


Unhandled Exception: System.DllNotFoundException: libgnomeui-2.0.dylib
in (wrapper managed-to-native) Gnome.Modules:libgnomeui_module_info_get ()
in <0x00010> Gnome.Modules:get_UI ()
in <0x004c8> MonoDevelop.SharpDevelopMain:Main (System.String[] args)

vargol$ ls -l /opt/local/lib/libgnomeui*
-rwxr-xr-x 1 root admin 769516 28 Jun 05:04 
/opt/local/lib/libgnomeui-2.0.1000.0.dylib
-rwxr-xr-x 1 root admin 775292 21 Dec 2003 
/opt/local/lib/libgnomeui-2.0.400.0.dylib
lrwxr-xr-x 1 root admin 27 5 Jul 21:33 
/opt/local/lib/libgnomeui-2.0.dylib -> libgnomeui-2.0.1000.0.dylib
-rw-r--r-- 1 root admin 1359664 28 Jun 05:04 /opt/local/lib/libgnomeui-2.a
lrwxr-xr-x 1 root admin 27 5 Jul 21:33 /opt/local/lib/libgnomeui-2.dylib 
-> libgnomeui-2.0.1000.0.dylib
-rwxr-xr-x 1 root admin 1932 28 Jun 05:04 /opt/local/lib/libgnomeui-2.la
vargol$

I've tried hard coding the path in the gnome-sharp.dll.config file and 
it still can't find the dylib....

vargol$ monodevelop

Unhandled Exception: System.DllNotFoundException: 
/opt/local/lib/libgnomeui-2.0.dylib
in (wrapper managed-to-native) Gnome.Modules:libgnomeui_module_info_get ()
in <0x00010> Gnome.Modules:get_UI ()
in <0x004c8> MonoDevelop.SharpDevelopMain:Main (System.String[] args)

It does not lib the fink libgnomeui-2.0.dylib either.

Dave		


More information about the Mono-osx mailing list