C# Mono: Webkit throwing dllnotfoundexeption
===

I install monodevelop and the cli webkit binding in ubuntu 12.04 and was able to add the webkit-sharp package in my references. But is I run a program the window doesn't show up and the dubbuger shows:

    
    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

and it still didn't work. Now it gives me:


    Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
    at MainWindow..ctor () [0x00022] in /home/aditya/Projects/PePaDa/PePaDa/MainWindow.cs:12 
    at PePaDa.MainClass.Main (System.String[] args) [0x00005] in /home/aditya/Projects/PePaDa/PePaDa/Main.cs:11 
    [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
    at MainWindow..ctor () [0x00022] in /home/aditya/Projects/PePaDa/PePaDa/MainWindow.cs:12 
    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


What am I doing wrong?

Also I wouldn't mind using gecko-sharp, but I can't find it in binary or source form. Could someone post the links, maybe?