SharpVk
SharpVk copied to clipboard
Exception on Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Calling Instance.Create throws an exception
Exception thrown: 'System.DllNotFoundException' in SharpVk.dll
An unhandled exception of type 'System.DllNotFoundException' occurred in SharpVk.dll: 'Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl.so: cannot open shared object file: No such file or directory'
Stack trace:
at SharpVk.Interop.NativeLibrary.LibDl.dlopen(String fileName, Int32 flags)
at SharpVk.Interop.NativeLibrary..ctor()
at SharpVk.Instance.Create(Nullable`1 enabledLayerNames, Nullable`1 enabledExtensionNames, Nullable`1 flags, Nullable`1 applicationInfo, Nullable`1 debugReportCallbackCreateInfoExt, Nullable`1 validationFlagsExt, Nullable`1 allocator)
at SkiaSharpTest.Vulkan.Linux.XlibVkContext..ctor() in ./SkiaSharpTest/SkiaSharpTest/Vulkan/Linux/XlibVkContext.cs:line 21
at SkiaSharpTest.Vulkan.VkContextFactory.CreateDefaultContext() in ./SkiaSharpTest/SkiaSharpTest/Vulkan/VkContextFactory.cs:line 19
at SkiaSharpTest.Program.TryVulkanGPU() in ./SkiaSharpTest/SkiaSharpTest/Program.cs:line 30
at SkiaSharpTest.Program.Main(String[] args) in ./SkiaSharpTest/SkiaSharpTest/Program.cs:line 25
System info:
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy