Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Fri May 28, 2021 9:24 pm
Hello!
I receive a error using Docker Linux "Alpine" in my solution. When I plot an image in pdf returns this error below:
"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"
If I add "SkiaSharp.NativeAssets.Linux.NoDependencies", I receive the error:
"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"
The solution on this thread "https://github.com/mono/SkiaSharp/issues/964" not work because the command: "RUN apt-get update && apt-get install -y libfontconfig1" (and de lib "libfontconfig1") does not exist in "Alpine" Linux Version.
-
rubvitor
-
- Posts: 3
- Joined: Wed May 26, 2021 11:15 pm
Mon May 31, 2021 11:46 am
Hello,
Thanks for your inquiry.
Please use the following command to install libgdiplus.
- Code: Select all
apk add libgdiplus --repository https://dl-3.alpinelinux.org/alpine/edge/testing/
If the issue still exists, to help us better investigate it, please share us with your DockerFile as well as your runnable application for reference. Thanks in advance.
Sincerely,
Brian
E-iceblue support team
-
Brian.Li
-
- Posts: 1271
- Joined: Mon Oct 19, 2020 3:04 am
Thu Jun 10, 2021 4:00 am
Hello,
Greetings from E-iceblue!
Has your issue been resolved? Any feedback will be greatly appreciated.
Sincerely,
Brian
E-iceblue support team
-
Brian.Li
-
- Posts: 1271
- Joined: Mon Oct 19, 2020 3:04 am