title: System.DllNotFoundException: > gtk\bin\libgobject-2.0-0.dll
body: <p>I've build a GUI on <a href="https://github.com/saigkill/PublicanCreators/blob/master/src/PublicanCreators/Program.cs" rel="nofollow noreferrer">Github</a>.</p>
  
  <p>After launching the built solution i've got:</p>
  
  <blockquote>
    <p>{System.TypeInitializationException: The type initializer for
    'Gtk.Application' threw an exception. --->
    System.TypeInitializationException: The type initializer for
    'GLib.GType' threw an exception. ---> System.DllNotFoundException:
    gtk\bin\libgobject-2.0-0.dll   at (wrapper managed-to-native)
    GLib.GType:g_type_init ()   at GLib.GType..cctor () [0x00192] in
    &lt;3683aafe72b14a2db70c1aa8c87dbafa>:0     --- End of inner exception
    stack trace ---   at Gtk.Application..cctor () [0x00000] in
    &lt;97df079e817c4064808c8a386b3beb10>:0     --- End of inner exception
    stack trace ---   at PublicanCreators.GladeApp..ctor (System.String[]
    args) [0x00007] in
    /home/sascha/RiderProjects/PublicanCreators/src/PublicanCreators/Program.cs:66
    at PublicanCreators.GladeApp.Main (System.String[] args) [0x00002] in
    /home/sascha/RiderProjects/PublicanCreators/src/PublicanCreators/Program.cs:60
    }</p>
  </blockquote>
  
  <p>Its available there:</p>
  
  <ul>
  <li>/usr/lib/i386-linux-gnu/libgobject-2.0.so.0 </li>
  <li>/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.5000.2 </li>
  <li>/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0      </li>
  <li>/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.2 </li>
  </ul>
  
  <p>gnome-sharp.dll.config says:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/&gt;
    &lt;dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/&gt;
    &lt;dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0"/&gt;
    &lt;dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/&gt;
    &lt;dllmap dll="gnome-2" target="libgnome-2.so.0"/&gt;
    &lt;dllmap dll="gnomecanvas-2" target="libgnomecanvas-2.so.0"/&gt;
    &lt;dllmap dll="gnomeui-2" target="libgnomeui-2.so.0"/&gt;
    &lt;dllmap dll="gnomesharpglue-2" target="/usr/lib/cli/gnome-sharp-2.24/libgnomesharpglue-2.so"/&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>And ldconfig says:</p>
  
  <p>ldconfig -p |grep libgobject
  libgobject-2.0.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  libgobject-2.0.so.0 (libc6) => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  libgobject-2.0.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so</p>
  
  <p>Maybe anyone has an idea?</p>