[Mono-dev] glibsharpglue-2

Jon Shemitz Jon.Shemitz at access-company.com
Fri Aug 14 20:27:32 EDT 2009


I'm trying to use GLib.Value, and I'm getting

System.TypeInitializationException : An exception was thrown by the type
initializer for GLib.GType

  ----> System.DllNotFoundException : glibsharpglue-2

I found /scratchbox/mono/lib/gtk-sharp-2.0/libglibsharpglue-2.so and
copied it to both a path in LD_LIBRARY_PATH and the directory where my
mono libraries live ... no good. Now, this was dumb, because the
scratchbox so would be x86, and I'm running on an ARM, but:

Is this even close to right? If I'd compiled glibsharpglue-2 for ARM,
would putting libglibsharpglue-2.so in a LD_LIBRARY_PATH be the way to
get rid of this exception?

 

[I ask, rather than try, because apparently this will be sort of
non-trivial. When I run ./configure for gtk-sharp, I get 

checking for csc.exe... no

configure: error: You need to install either mono or .Net

even though I am able to compile with gmcs.]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090814/9be07323/attachment.html 


More information about the Mono-devel-list mailing list