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.

libskiasharp.so is missing

See original GitHub issue

Unhandled exception. System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKImageInfo’ threw an exception. —> System.DllNotFoundException: Unable to load shared library ‘libSkiaSharp’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No such file or directory at SkiaSharp.SkiaApi.sk_colortype_get_default_8888() at SkiaSharp.SKImageInfo…cctor() — End of inner exception stack trace — at Avalonia.Skia.PlatformRenderInterface…ctor(ISkiaGpu skiaGpu, Nullable1 maxResourceBytes) in /_/src/Skia/Avalonia.Skia/PlatformRenderInterface.cs:line 27 at Avalonia.Skia.SkiaPlatform.Initialize(SkiaOptions options) in /_/src/Skia/Avalonia.Skia/SkiaPlatform.cs:line 20 at Avalonia.SkiaApplicationExtensions.<>c__01.<UseSkia>b__0_0() in //src/Skia/Avalonia.Skia/SkiaApplicationExtensions.cs:line 20 at Avalonia.Controls.AppBuilderBase1.Setup() in /_/src/Avalonia.Controls/AppBuilderBase.cs:line 304 at Avalonia.Controls.AppBuilderBase1.SetupWithLifetime(IApplicationLifetime lifetime) in //src/Avalonia.Controls/AppBuilderBase.cs:line 179 at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 133 at Fetchman.Program.Main(String[] args) in /mnt/sda1/Projects/Fetchman/Program.cs:line 13

Process finished with exit code 134. Minimal repro platform: Linux, Ubuntu, 20.04

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kekekekscommented, May 3, 2021

.NET SDK installed from Snap is fundamentally incompatible with running UI apps

0reactions
katuakcommented, May 4, 2021

Closing issue. I can’t access my main computer right now, so if I have this problem again, I will open it up again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

libSkiaSharp.so doesn't get copied automatically to the ...
libSkiaSharp.so doesn't get copied automatically to the bin/{Debug|Release}/ folder from its SkiaSharp.NativeAssets.Linux nuget folder #794.
Read more >
Unable to load shared library 'libSkiaSharp' or one of its ...
NativeAssets.Linux.NoDependencies. I'm still receiving the error though. My application takes user input to determine how SkiaSharp is used so I ...
Read more >
Unable to load shared library 'libSkiaSharp' in .net core 5.0 ...
@sudi065 I have investigated the issue and determined that there is a missed dependency of libSkiaSharp.so on Alpine Linux. Running the following command...
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 >
C# Application with SkiaSharp on Ubuntu 20.04 is excepting
It says it's missing the libskiasharp, which is the unmanaged lib that skiasharp wraps. Are you definitely using the right nuget package? If...
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