System.DllNotFoundException: libgio-2.0-0.dll

Asked by hobofood

Running Docky-2 from monodevelop after grabbing the source from bzr throws the following error:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Docky.Services.DockServices ---> System.TypeInitializationException: An exception was thrown by the type initializer for Docky.Services.HelperService ---> System.DllNotFoundException: libgio-2.0-0.dll
  at (wrapper managed-to-native) GLib.FileFactory:g_file_new_for_path (string)
  at GLib.FileFactory.NewForPath (System.String path) [0x00000]
  at Docky.Services.HelperService..cctor () [0x00000] in /home/hobofood/nerds/docky/Docky.Services/Docky.Services/IPreferences.cs:1
  --- End of inner exception stack trace ---
  at Docky.Services.DockServices..cctor () [0x0001e] in /home/hobofood/nerds/docky/Docky.Services/Docky.Services/DockServices.cs:39
  --- End of inner exception stack trace ---
  at Docky.Docky.Main (System.String[] args) [0x00094] in /home/hobofood/nerds/docky/Docky/Docky/Docky.cs:83

it occurs when DockServices creates the HelperService object. If I build the app with checkinstall and install it, then it runs fine.

Obviously, this is something I have set up incorrectly in monodevelop rather than a bug in Docky itself, but this seems to be the best place I can find to ask. What do I need to do to make it work?

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Docky Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #499359.

Revision history for this message
hobofood (lawrence-anstey) said :
#1

Sorry, I just realised that this would be much more appropriate as a question. That's what I get for submitting bug reports at 7:30am

Revision history for this message
Chris S. (cszikszoy) said :
#2

Don't run docky from monodevelop, we only use MD to write code. Try running from the terminal after using ./autogen.sh && sudo make install to build docky.

Can you help with this problem?

Provide an answer of your own, or ask hobofood for more information if necessary.

To post a message you must log in.