[Mono-list] Problem with Mono environment

John M. Anderson sontek at gmail.com
Mon Dec 17 18:03:29 EST 2007


I'm trying to install monodevelop from SVN, it intalls but when I run it 
I get the error:

** (./MonoDevelop.exe:4925): WARNING **: The following assembly 
referenced from 
/opt/mono/lib/monodevelop/AddIns/GnomePlatform/GnomePlatform.dll could 
not be loaded:
     Assembly:   gtk-sharp    (assemblyref_index=5)
     Version:    2.12.0.0
     Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed 
in the MONO_PATH environment variable, or in the location of the 
executing assembly (/opt/mono/lib/monodevelop/AddIns/GnomePlatform).


** (./MonoDevelop.exe:4925): WARNING **: Could not load file or assembly 
'gtk-sharp, Version=2.12.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

** (./MonoDevelop.exe:4925): WARNING **: Missing method get_Default in 
assembly 
/opt/mono/lib/monodevelop/AddIns/GnomePlatform/GnomePlatform.dll, type 
Gtk.IconTheme
Stacktrace:

Segmentation fault


As you can see, for some reason it thinks its linked against gtk-sharp 
2.12, but I only have 2.10 on my system.

[sontek at localhost ]$ gacutil -l |grep gtk-sharp
gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtk-sharp, Version=2.10.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f
policy.2.4.gtk-sharp, Version=0.0.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f
policy.2.6.gtk-sharp, Version=0.0.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f
policy.2.8.gtk-sharp, Version=0.0.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f


[sontek at localhost Reaper.S01E09.HDTV.XviD-XOR]$ pkg-config --list-all 
|grep gtk-sharp
gtk-sharp-2.0               Gtk - Gtk


any ideas what is going on?


More information about the Mono-list mailing list