Centos 7 Asp.net core 使用QRCoder 报“Unable to load DLL 'gdiplus'"
环境:Centos7 .Net core 2.0
问题:
使用QRCoder 报“Unable to load DLL 'gdiplus'"
解决:
yum install libgdiplus-devel
注意
安装 libgdiplus-devel 之前需要 安装 epel
rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install libgdiplus 后,在centos7 下,程序并不能运行成功还是报错,查看libgdiplus安装情况
rpm -qa |grep libgdiplus
rpm -ql libgdiplus-2.10-9.el7.x86_64
在/usr/lib64下缺少libgdiplus.so文件
Centos7 需要通过安装libgdiplus-devel来解决
来源:oschina
链接:https://my.oschina.net/u/4072296/blog/3212422