this is the part of dockerfile
- Code: Select all
FROM ubuntu:22.04 AS base_image
this is the error
- Code: Select all
Unhandled Exception: System.TypeInitializationException: TypeInitialization_Type_NoTypeAvailable
---> System.DllNotFoundException: DllNotFound_Linux, libSkiaSharp,
libfontconfig.so.1: cannot open shared object file: No such file or directory
liblibSkiaSharp.so: cannot open shared object file: No such file or directory
libSkiaSharp: cannot open shared object file: No such file or directory
liblibSkiaSharp: cannot open shared object file: No such file or directory
at System.Runtime.InteropServices.NativeLibrary.LoadLibErrorTracker.Throw(String) + 0x4e
at Internal.Runtime.CompilerHelpers.InteropHelpers.FixupModuleCell(InteropHelpers.ModuleFixupCell*) + 0x10f
at Internal.Runtime.CompilerHelpers.InteropHelpers.ResolvePInvokeSlow(InteropHelpers.MethodFixupCell*) + 0x35
at SkiaSharp.SkiaApi.sk_colortype_get_default_8888() + 0x2d
at SkiaSharp.SKImageInfo..cctor() + 0x2b
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0xb9
Exception_EndOfInnerExceptionStack
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x153
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnNonGCStaticBase(StaticClassConstructionContext*, IntPtr) + 0x9
at sprhxg..ctor(Int32, Int32, Single, Single, SKColorType) + 0x5d
at sprktg.spra() + 0x78
at sprktg.sprd(Stream) + 0xdc
at sprlsc.spra(Stream, sprkth) + 0x29f
at sprksd.spra(ShapeBase, Boolean, sprlsf) + 0x3f9
at sprksd.spra(ShapeBase, Paragraph) + 0x918
at sprksd.spre(Paragraph) + 0x6bd
at sprksd.spra(Section) + 0x6b6
at sprksd.sprc(Document) + 0x61e
at sprksd.sprb(Document, String) + 0x101
at sprksd.sprc(Document, String) + 0x482
at Spire.Doc.Document.sprn(String) + 0x56
at Spire.Doc.AOT.NLDocument.Document_SaveToFileFF(IntPtr, IntPtr, Int32) + 0x65
Look forward to hearing from you!