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.

Tue Jan 26, 2021 8:51 pm

Hi. After deployment through docker, I receiving this

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.


But on local Windows it is working fine, could be a Linux compatibility issue?

Code: Select all
   <PackageReference Include="FreeSpire.PDF" Version="6.10.6" />
    <PackageReference Include="SixLabors.ImageSharp" Version="1.0.1" />
    <PackageReference Include="SkiaSharp" Version="2.80.2" />
    <PackageReference Include="System.Drawing.Common" Version="4.7.0" />
    <PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.0" />

r_lugo.cr
 
Posts: 3
Joined: Thu Jan 14, 2021 3:04 am

Wed Jan 27, 2021 10:23 am

Hello,

Please try to add the dependency "SkiaSharp.NativeAssets.Linux" to your project via NuGet.
If the issue still occurs after trying, please provide your project and your dockerfile. You could send them to us ([email protected]) via email. Thanks in advance.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF