[Mono-dev] libgnomesharpglue error MonoDevelop 0.7 on Mac OSX 10.4 Tiger

Lifewarped lifewarped at yahoo.com
Tue Sep 13 19:23:54 EDT 2005


I wasnt sure if i should send this to the Mono or Monodevelop list...  
but because its a Mono exception... relating to Native linking (by  
the looks of it) i figured it would be best here.

Im trying to run monodevelop on OS X. Ive got Gnome Installed and  
Running as well as GTK# etc.
Ive edited my DYLIB path, my MONO path, etc and i keep getting this  
error. Ive even edited the *.dll.config file to fix errors and  
nothing :-/ im so fustrated but i miss my C# and i dont have a  
Windows or Linux box.

i have verified that the file is in /Library/Frameworks/ 
Mono.framework/Versions/1.1.9/lib

Any help would be appreciated... BTW the MonoLaunch script is at then  
end of this file.

[green at Gilliam] ~ > ./MonoLaunch.sh

Unhandled Exception: System.TypeInitializationException: An exception  
was thrown by the type initializer for Gnome.ModuleInfo --->  
System.DllNotFoundException: libgnomesharpglue-2.so
in (wrapper managed-to-native)  
Gnome.ModuleInfo:gnomesharp_gnome_moduleinfo_get_name_offset ()
in <0x00010> Gnome.ModuleInfo:.cctor ()--- End of inner exception  
stack trace ---

in <0x00000> <unknown method>
in <0x00030> Gnome.Modules:get_UI ()
in <0x0002c> Gnome.Modules:get_UI ()
in <0x004ac> MonoDevelop.SharpDevelopMain:Main (System.String[] args)

----

MonoLaunch.sh
#!/bin/bash
export MONO_PATH="/Library/Frameworks/Mono.framework/Versions/1.1.9/ 
lib:/Library/Frameworks/Mono.framework/Versions/1.1.9/lib/mono/gtk- 
sharp-2.0:/Library/Frameworks$
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/Library/Frameworks/ 
Mono.framework/Versions/1.1.9/lib/pkgconfig/:/usr/local/lib/pkgconfig"
export MOZILLA_FIVE_HOME="/Users/green/Applications/Firefox.app/ 
Contents/MacOS/"
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib:/Library/ 
Frameworks/Mono.framework/Versions/Current/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/local/lib:/Library/ 
Frameworks/Mono.framework/Versions/Current/lib
/usr/local/bin/monodevelop
#--EOF--

Thanks
Glenn





More information about the Mono-devel-list mailing list