我用的是 ZKWeb.System.Drawing去画验证码 在windows 上 没有问题 。 但是 在linux 上报错 。
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: The type initializer for 'System.DrawingCore.GDIPlus' threw an exception.
System.TypeInitializationException: The type initializer for 'System.DrawingCore.GDIPlus' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'gdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgdiplus: cannot open shared object file: No such file or directory
我Linux 上已经安装了 gdiplus.dll 请问 是什么原因