码迷,mamicode.com
首页 > Windows程序 > 详细

.netcore 2.0 System.Drawing

时间:2020-04-15 12:24:58      阅读:102      评论:0      收藏:0      [点我收藏+]

标签:oge   报错   conf   air   style   tool   org   tiff   har   

CentOS 下报错

1.Unable to load shared library ‘libdl‘

解决方法:创建软链接

#locate libdl

/usr/lib64/libdl-2.17.so

/usr/lib64/libdl.so.2

#cd /usr/lib64

#ln -s libdl-2.17.so libdl.so

2. Unable to load DLL ‘libgdiplus‘

解决方法:安装libgdiplus

yum install autoconf automake libtool

yum install freetype-devel fontconfig libXft-devel

yum install libjpeg-turbo-devel libpng-devel giflib-devel libtiff-devel libexif-devel

yum install glib2-devel cairo-devel

git clone https://github.com/mono/libgdiplus

cd libgdiplus

./autogen.sh

make

make install

cd /usr/lib64/

ln -s /usr/local/lib/libgdiplus.so gdiplus.dll

 

若依旧报错,请安装libgdiplus-devel

rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install libgdiplus-devel

 

.netcore 2.0 System.Drawing

标签:oge   报错   conf   air   style   tool   org   tiff   har   

原文地址:https://www.cnblogs.com/reg168/p/12704375.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!