解决.Net Core 使用 System.Drawing.Common 在CentOS下报错'Gdip'
在使用CentOS netcore产生验证码
发生错误The type initializer for ‘Gdip’ threw an exception.
在CentOS命令行中输入
先看一下centos 上的 libdl 版本是多少?
ls /usr/lib/libdl
**然后确定版本后输入
locate libdl /usr/lib64/libdl-2.17.so /usr/lib64/...
原创
2020-02-20 17:41:43 ·
1765 阅读 ·
0 评论