Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on Ubuntu 22.04.2 LTS (Jammy Jellyfish) #68

Open
michaelkruglos opened this issue Jul 31, 2023 · 0 comments
Open

Exception on Ubuntu 22.04.2 LTS (Jammy Jellyfish) #68

michaelkruglos opened this issue Jul 31, 2023 · 0 comments

Comments

@michaelkruglos
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant