目录
-
- 参考组件 址
- .net core执行 错
- 安装libgdiplus包:
- 先进入 站部署目录
- 启动 站
.NET CORE项目有裁剪图片的功能,调用了 System.Drawing.Common的方法,如果centos8系统中没有按照依赖libgdiplus包,则会 错
我的系统是CentOS8,
参考组件 址
https://centos.pkgs.org/8/epel-x86_64/libgdiplus-6.0.4-3.el8.x86_64.rpm.html
.net core执行 错
Unable to load shared library ‘libgdiplus’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibgdiplus: cannot open shared object file: No such file or directory
安装libgdiplus包:
centos8终端中执行命令:
安装成功后重启 站:
先进入 站部署目录
启动 站
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!