[Gtk-sharp-list] System.DllNotFoundException: libgobject-2.0-0.dll Was: Gtk.Builder & Autoconnect

Sascha Manns Sascha.Manns at mailbox.org
Wed Jan 25 18:41:29 UTC 2017


Hello List,

actually my projects build without any errors, but if i'm starting the
exe, i'm getting on Linux:


{System.TypeInitializationException: The type initializer for
'Gtk.Application' threw an exception. --->
System.TypeInitializationException: The type initializer for
'GLib.GType' threw an exception. ---> System.DllNotFoundException:
libgobject-2.0-0.dll
  at (wrapper managed-to-native) GLib.GType:g_type_init ()
  at GLib.GType..cctor () [0x00192] in <8e24f684f2f1470bb8b16a3873bd8c0b>:0
   --- End of inner exception stack trace ---
  at Gtk.Application..cctor () [0x00000] in
<4437277c17f0449d84c5fa29ad7e26f3>:0
   --- End of inner exception stack trace ---
  at PublicanCreators.Program.Main () [0x00001] in
/home/sascha/RiderProjects/PublicanCreators/src/PublicanCreators/Program.cs:26
}

It looks like the mapping from libgobject-2.0.0.dll to
libgobject-2.0.0.so doesn't work.

The libs are available there:

  * /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  * /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.5000.2
  * /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  * /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.2

The gtk-sharp.dll.config from my integrated NuGet package
"gtk-sharp.Linux.3.14.3.14.7" contains:

<configuration> <dllmap dll="libglib-2.0-0.dll"
target="libglib-2.0.so.0"/> <dllmap dll="libgobject-2.0-0.dll"
target="libgobject-2.0.so.0"/> <dllmap dll="libatk-1.0-0.dll"
target="libatk-1.0.so.0"/> <dllmap dll="libgtk-3-0.dll"
target="libgtk-3.so.0"/> </configuration>

So the mapping should work.

Has anyone seen that error and knows how to fix them?

Greetings
Sascha

-- 

Sascha Manns
Sascha.Manns at mailbox.org <mailto:Sascha.Manns at mailbox.org>
GPG: 0x168428cdb1f20ab1
<http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
jabber:Sascha.Manns at jabber.org <jabber:Sascha.Manns at jabber.org>


Maifeldstra├če 10
56727 Mayen
mobile: +49-1573-9242730
home: +49-2651-4014045
https://saigkill.github.io

Twitter <https://twitter.com/saigkill> Facebook
<https://www.facebook.com/sascha.manns> LinkedIn
<https://de.linkedin.com/in/saigkill> Skype <skype:schurik0815?call>
Github <https://github.com/saigkill> Xing
<https://www.xing.com/profile/Sascha_Manns4>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter.png
Type: image/png
Size: 1418 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer.gif
Type: image/gif
Size: 1097 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook.png
Type: image/png
Size: 956 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.png
Type: image/png
Size: 1141 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skype.png
Type: image/png
Size: 1632 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: github.png
Type: image/png
Size: 2345 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xing.png
Type: image/png
Size: 2636 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 837 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170125/e79bd5b9/attachment-0001.sig>


More information about the Gtk-sharp-list mailing list