title: AWS Lambda Dot Net Core 3.1 throws gdip exception when using Aspose Cells for .Net
body: <p>I am using Aspose Cells for .Net to convert Excel to PDF in Dot Net Core 3.1. It is perfectly working in local environment but when I hosted in AWS environment (AWS Lambda) it throws an error saying,</p>
  <blockquote>
  <p>{&quot;fileName&quot;:&quot;System.TypeInitializationException: The type initializer
  for 'Gdip' threw an exception. ---&gt; System.DllNotFoundException:
  Unable to load shared library 'libdl' or one of its dependencies. In
  order to help diagnose loading problems, consider setting the LD_DEBUG
  environment variable: liblibdl: cannot open shared object file: No
  such file or directory\n at Interop.Libdl.dlopen(String fileName,
  Int32 flag)\n at
  System.Drawing.SafeNativeMethods.Gdip.LoadNativeLibrary()\n at
  System.Drawing.SafeNativeMethods.Gdip..cctor()\n --- End of inner
  exception stack trace ---\n at
  System.Drawing.SafeNativeMethods.Gdip.GdipNewPrivateFontCollection(IntPtr&amp;
  fontCollection)\n at SelectPdf.Lib.ᡜ..ctor()\n.</p>
  </blockquote>
  <p>I have referenced &quot;System.Drawing.Common&quot; DLL in my project to resolve this issue. But still this issue has not been resolved. How to resolve this issue?</p>