Unable to load 'libSkiaSharp' Linux (Manjaro)
See original GitHub issueDescribe the bug
While trying to run the project in debug mode the app is giving a System.DllNotFoundException: Unable to load shared library 'libSkiaSharp'
error code, i tried installing skiasharp from the official arch repository didnt solve the issue, the runtime folder is populated with the libSkiSharp.so for every system and i still get the error.
OBS: The project works normally on Windows
To Reproduce
Create a project using the official avalonia mvvm template
dotnet new avalonia.mvvm -o MyApp
Then update it to .net 5
Build it and try to run it with debug mode or release mode gives the same error
Expected behavior Is that the app at least starts and load the libSkiaSharp
Screenshots
Desktop (please complete the following information):
- IDE: Rider
- OS: Manjaro
- Version Latest(20.2)
Additional context -Avalonia Preview 0.10.0 RC1 -Avalonia.Native 0.10.0 RC1
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
@kekekeks Hello, thanks for all the help the problem was that i was using the dotnet-sdk from the SNAP store, i installed the version from AUR and it started working, it might be a good idea to add somewhere in the readme to not use snap version of the dotnet sdk.
If it needs to be fixed without installing this package and only with your Docker and version?