.Net Core System.Drawing.Common given solution used in CentOS 'Gdip'

netcore codes generated using CentOS

Error occurred The type initializer for 'Gdip' threw an exception.

Enter the CentOS command line

Look at libdl version on centos is how much?
ls / usr / lib / libdl

** After determining the version of the input then
the locate libdl and /usr/lib64/libdl-2.17.so /usr/lib64/libdl.so.2
CD / usr / the lib64
LN -s libdl-2.17.so libdl.so

If not enough to install
yum install libgdiplus-devel

Published 12 original articles · won praise 6 · views 672

Guess you like

Origin blog.csdn.net/u011363395/article/details/104414664