Base solution for your next web application
Open Closed

Unable to upload Application Logo and Icon in Deployment server #12172


User avatar
0
SRTMDEV created

we are facing issue in while uploading Application Logo and Icon in Deployment server but in local development server , we are able to upload and working fine

Audit Log Detail System.TypeInitializationException: The type initializer for 'SkiaSharp.SKData' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.8/libSkiaSharp.so: cannot open shared object file: No such file or directory /api/libSkiaSharp.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.8/liblibSkiaSharp.so: cannot open shared object file: No such file or directory /api/liblibSkiaSharp.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.8/libSkiaSharp: cannot open shared object file: No such file or directory /api/libSkiaSharp: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.8/liblibSkiaSharp: cannot open shared object file: No such file or directory /api/liblibSkiaSharp: cannot open shared object file: No such file or directory

at SkiaSharp.SkiaApi.sk_data_new_empty() at SkiaSharp.SKData..cctor() --- End of inner exception stack trace --- at SkiaSharp.SKData.CreateCopy(Byte[] bytes) at SkiaSharp.SKImage.FromEncodedData(Byte[] data) at abc.Graphics.SkiaSharpImageValidator.ValidateDimensions(Byte[] imageBytes, Int32 maxWidth, Int32 maxHeight) in /home/ubuntu/agent/_work/1/s/aspnet-core/src/abc.Core/Graphics/IImageFormatValidator.cs:line 27 at abc.Web.Controllers.TenantCustomizationController.UploadLogoFileInternal() in /home/ubuntu/agent/_work/1/s/aspnet-core/src/abc.Web.Core/Controllers/TenantCustomizationController.cs:line 161 at abc.Web.Controllers.TenantCustomizationController.UploadLogoFileInternal() in /home/ubuntu/agent/_work/1/s...


1 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @SRTMDEV,

    Could you check this conversation?

    https://stackoverflow.com/questions/75415086/unable-to-load-shared-library-libskiasharp-or-one-of-its-dependencies-on-linux