Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Qyoto.QWebView ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: qtwebkit-sharp
at (wrapper managed-to-native) QtWebKit.InitQtWebKit:Init_qtwebkit ()
at QtWebKit.InitQtWebKit.InitSmoke () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) [0x00000] in <filename unknown>:0
at System.Type.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) [0x00000] in <filename unknown>:0
at Qyoto.AssemblySmokeInitializer.CallInitSmoke () [0x00000] in <filename unknown>:0
at Qyoto.SmokeInvocation.TryInitialize (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0
at Qyoto.SmokeInvocation..ctor (System.Type klass, System.Object obj) [0x00000] in <filename unknown>:0
at Qyoto.QWebView..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at AutoPilot.MainClass.Main (System.String[] args) [0x00013] in /home/keks/Projects/AutoPilot/Main.cs:26
>>System.DllNotFoundException: qtwebkit-sharp
Actually, there is no library with such name. Fixed with:
sudo ln -s /usr/lib/cli/qtwebkit-2.2/libqtwebkit-sharp.so /usr/lib/qtwebkit-sharp
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libqtwebkit2.2-cil 4:4.5.1-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Feb 20 14:55:18 2011
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=ru_RU.utf8
SHELL=/bin/bash
SourcePackage: kdebindings