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.

SkiaSharp inn Linux Containers

See original GitHub issue

Hello,

I have a project with a dependency on SkiaSharp. It was originally running in Windows, and I’m now trying to get it running on a linux docker container. My project use SkiarSharp v1.60.0. I have manually added in the same folder the libSkiaSharp.so file found in the release’s assets. But when I try to run the container, I get the “Unable to load DLL 'libSkiaSharp': The specified module or one of its dependencies could not be found.” error message.

Does anyone knows how to get it working on Linux / Docker ?

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
mattleibowcommented, May 4, 2018

I created a sample repo with a small container that should just work: https://github.com/mattleibow/SkiaSharp-Docker

0reactions
mattleibowcommented, May 5, 2018

Ah, you may be using an incorrect version of the native library vs the managed library. The native API is entirely dependent on Google’s skia.

Google removed that particular method in v1.60. The previous version (v1.59.3) still has that method. You can download that native version here: https://github.com/mono/SkiaSharp/releases/tag/v1.59.3

But, just check the version that is currently in use and download that particular one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy SkiaSharp on a container running .NET 6 Alpine ...
You are targeting your application for alpine, but you are running it in the final container, which is based on base : FROM...
Read more >
SkiaSharp lib works locally but not in sandbox env : r/csharp
Hey, I am using the SkiaSharp library and it works locally with .NET 6. Running it on an env that runs in linux...
Read more >
System.DllNotFoundException in net core app. Docker for ...
But when I run the application from under Docker on the Linux platform, I see an error. Exception thrown: 'System.DllNotFoundException' in SkiaSharp.dll
Read more >
How to deploy devexpress reopring viewer for linux docker
I want to serve the report viewer as a linux docker container. ... .com/DevExpress-Examples/reporting-use-devexpress-drawing-skia-engine.
Read more >
Platform specific dependencies
The QuestPDF library has a dependency called SkiaSharp which is used to render the final PDF file. QuestPDF works without problems in Blazor...
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