[Gtk-sharp-list] webkit-sharp does not find webkit DLL

Jacek Rużyczka stacheldraht at interia.pl
Thu May 16 19:35:21 UTC 2013

Am Dienstag, den 14.05.2013, 22:24 +0200 schrieb Bertrand Lorentz:
> Hi,
> If you've added the second dllmap above, it's not going to have any
> effect: the webkit-sharp code probably references "webkit-1.0" in its
> DllImport statements, so mono is going to look that up in the .config
> file at runtime, and then try to load the library indicated in the
> target.
…and this library doen not exist, so that the whole lot crashes.

> Modifying the target of the existing dllmap to point to
> libwebkitgtk-3.0.so is not going to work either: it probably has a
> different API, and is linked with GTK+ 3, which would cause all sorts
> of issue if your app is using GTK+ 2.
True. I still have Gtk# ver. 2 on my machine.

> Does the file /usr/lib64/libwebkitgtk-1.0.so.0 exist on your system ?
> Or some file by that name somewhere else ?
I can't find it anywhere on my disk.

> If not, you should try to find a package that provides it. From the
> name, the libwebkitgtk-1_0-0-1.10.2-3.2.1.x86_64 package would seem to
> be a good candidate., but I don't have OpenSuSE installed, so I can't
> check.
Officially, this package provides the lib you cited above, but something
wrong must have happened during its installation as I can't find the lib on my
system. BTW, the installation process completed without any error messages.
Strange! :-(

After re-installing, I have libwebkitgtk-1.0.so.0.17.5 in /usr/lib64, but webkit-sharp,
of course, looks for webkit-1.0, doesn't find it…and crashes…

> Good luck !
Thank you! This is what I need most now. ^^

Kind regards

More information about the Gtk-sharp-list mailing list