BlazorWebView
BlazorWebView copied to clipboard
Cannot run because DLLs not found
Exception has occurred: CLR/System.DllNotFoundException
An unhandled exception of type 'System.DllNotFoundException' occurred in Gtk-4.0.dll: 'Unable to load shared library 'libgtk-4.so.1' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/snap/dotnet-sdk/236/shared/Microsoft.NETCore.App/8.0.2/libgtk-4.so.1: cannot open shared object file: No such file or directory
/mnt/d/Development/Visual Studio Projects/BlazorWebView/WebKitGtk.Test/bin/Debug/net8.0/libgtk-4.so.1: cannot open shared object file: No such file or directory
/snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libgtk-4.so.1) /snap/dotnet-sdk/236/shared/Microsoft.NETCore.App/8.0.2/liblibgtk-4.so.1: cannot open shared object file: No such file or directory /mnt/d/Development/Visual Studio Projects/BlazorWebView/WebKitGtk.Test/bin/Debug/net8.0/liblibgtk-4.so.1: cannot open shared object file: No such file or directory /snap/dotnet-sdk/236/shared/Microsoft.NETCore.App/8.0.2/libgtk-4.so.1.so: cannot open shared object file: No such file or directory /mnt/d/Development/Visual Studio Projects/BlazorWebView/WebKitGtk.Test/bin/Debug/net8.0/libgtk-4.so.1.so: cannot open shared object file: No such file or directory /snap/dotnet-sdk/236/shared/Microsoft.NETCore.App/8.0.2/liblibgtk-4.so.1.so: cannot open shared object file: No such file or directory /mnt/d/Development/Visual Studio Projects/BlazorWebView/WebKitGtk.Test/bin/Debug/net8.0/liblibgtk-4.so.1.so: cannot open shared object file: No such file or directory' at System.Runtime.InteropServices.NativeLibrary.<LoadByName>g____PInvoke|2_0(UInt16* __libraryName_native, QCallAssembly __callingAssembly_native, Int32 __hasDllImportSearchPathFlag_native, UInt32 __dllImportSearchPathFlag_native, Int32 __throwOnError_native) at Gtk.Internal.ImportResolver.Resolve(String libraryName, Assembly assembly, Nullable
1 searchPath)
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at Gtk.Internal.Functions.Init()
at Gtk.Module.Initialize()
at WebKit.Module.Initialize()
at Program.Main(String[] args) in /mnt/d/Development/Visual Studio Projects/BlazorWebView/WebKitGtk.Test/Program.cs:line 12