[webkit-gtk] webkit-1.0 not found when called from webkit-sharp
Jacek Rużyczka
stacheldraht at interia.pl
Sun May 12 12:27:26 PDT 2013
Hi folks,
after upgrading my PC to openSuSE 12.3 (64bit), my C# app using a WebKit
browser widget inside a Gtk# window simply stopped working. Calling this
line of code…
overviewBrowser = new WebView();
…results in the following error message:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeInitializationException:
An exception was thrown by the type initializer for WebKit.WebView --->
System.DllNotFoundException: webkit-1.0
at (wrapper managed-to-native)
WebKit.Download:webkit_download_get_type ()
at WebKit.Download.get_GType () [0x00000] in <filename unknown>:0
at GtkSharp.WebkitSharp.ObjectManager.Initialize () [0x00000] in
<filename unknown>:0
at WebKit.WebView..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at iwawi.ApplicationBaseWindow..ctor (System.String database,
iwawi.DBConnectionHandler conn) [0x0017c]
in /home/jacek/Documents/Projects/iwawi/iwawi/ApplicationBaseWindow.cs:82
at MainWindow.OnLoginButtonPressedEvent (System.Object sender,
System.EventArgs e) [0x0018f]
in /home/jacek/Documents/Projects/iwawi/iwawi/MainWindow.cs:144
These are the WebKit-related RPMs currently installed:
jacek at veteran:~> rpm -qa | grep webkit
webkit-jsc-3-1.10.2-3.2.1.x86_64
kwebkitpart-1.3.1-2.1.1.x86_64
libwebkitgtk-3_0-0-1.10.2-3.2.1.x86_64
libwebkitgtk3-devel-1.10.2-3.2.1.x86_64
libproxy1-pacrunner-webkit-0.4.11-2.1.1.x86_64
libwebkitgtk-1_0-0-1.10.2-3.2.1.x86_64
webkit-sharp-0.3-8.1.noarch
libwebkitgtk3-lang-1.10.2-3.2.1.noarch
libwebkit2gtk-3_0-18-1.10.2-3.2.1.x86_64
Supposedly, webkit-sharp calls WebKitGtk, which in turn doesn't find the
native lib. Or is there anything wrong with my installtion?
Thank you for any useful hints.
Kind regards
Jacek Rużyczka
More information about the webkit-gtk
mailing list