question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to load 'libSkiaSharp' Linux (Manjaro)

See original GitHub issue

Describe 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 Screenshot from 2020-12-18 17-51-22

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:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MarioGKcommented, Dec 20, 2020

@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.

0reactions
EngRajabicommented, Dec 23, 2020

If it needs to be fixed without installing this package and only with your Docker and version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load shared library 'libSkiaSharp' or one of its ...
I had a pretty similar issue. In my case the issue was the same message: dotnet can not find the libraries. The nuget...
Read more >
Unable to load shared library 'libSkiaSharp' in .net core 5.0 ...
Hello Team, I have an Azure Pipeline with my .Net Core 5.0 WebAPI project which is referenced the Nuget-Package Aspose.Words version 21.10.0, ...
Read more >
Unable to load shared library 'libSkiaSharp' or one of its ...
I try run app on dotnet 2.1 (ubuntu), but its show errors. How solve it? 21.3.0.
Read more >
目录
Building on Linux is simple, and just has a few requirements: ... Once all the dependencies are installed, start the SkiaSharp download and...
Read more >
Linux app for PinePhone with pain and .NET Core
Last week I wrote a Linux app for the PinePhone. While I had fun doing ... FileNotFoundException: Could not load file or assembly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found