[Mono-list] [Mono-list​] Unable to load DLL 'glibsharpglue-2'

Daniel Hughes trampster at gmail.com
Tue Nov 1 01:59:07 EDT 2011


I have been working on the windows install for Wide Margin and have run
into a problem with windows 7

After installing GTK# 2.12.10 for .net then installing my app and trying to
run I get the following:

System.TypeInitializationException: The type initializer for
'Gtk.Application' threw an exception. ---> System.DllNotFoundException:
Unable to load DLL 'glibsharpglue-2': The specified module could not be
found. (Exception from HRESULT: 0x8007007E)
   at GLib.Thread.glibsharp_g_thread_supported()
   at GLib.Thread.get_Supported()
   at Gtk.Application..cctor()
   --- End of inner exception stack trace ---
   at Gtk.Application.Init()
   at WideMargin.GUI.GTKWideMarginView..ctor()
   at WideMargin.Controller.MainClass.Main(String[] args)

Interestingly installing monodevelop for windows makes it work.

The assembly in question exists on the machine in the location:

C:\Program Files\GtkSharp\2.12\bin\glibsharpglue-2.dll

So I'm not sure why it can't find it.

If I uninstall monodevelop it continues working.

Any idea how I can fix this perplexing problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111101/07b7a62a/attachment.html 


More information about the Mono-list mailing list