[Mono-dev] WebKit not working.

aditya3098 aditya3098 at gmail.com
Tue Jul 31 11:12:19 UTC 2012


I am using Ubuntu and installed monodevelop and webkit cli bindings.
If I run a program that uses webkit it doesn't show and the debugger gives:

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for WebKit.WebView --->
System.DllNotFoundException: webkit-1.0.so.2
  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 MainWindow..ctor () [0x00000] in <filename unknown>:0 
  at PePaDa.MainClass.Main (System.String[] args) [0x00005] in
/home/aditya/Projects/PePaDa/PePaDa/Main.cs:11 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An
exception was thrown by the type initializer for WebKit.WebView --->
System.DllNotFoundException: webkit-1.0.so.2
  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 MainWindow..ctor () [0x00000] in <filename unknown>:0 
  at PePaDa.MainClass.Main (System.String[] args) [0x00005] in
/home/aditya/Projects/PePaDa/PePaDa/Main.cs:11 
The application was terminated by a signal: SIGHUP



I tried sudo link /usr/lib/libwebkitgtk-1.0.so.0 /usr/lib/webkit-1.0.so.2
but it did not work. Please Help.



--
View this message in context: http://mono.1490590.n4.nabble.com/WebKit-not-working-tp4650657.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list