ubuntu 验证码 无法加载问题 gdiplus错误

浪淘沙2年前服务器441
Internal Server: Unable to load shared library 'gdiplus' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: /www/wwwroot/x.opent.cn/runtimes/linux-x64/native/gdiplus.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.7/gdiplus.so: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/gdiplus.so: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/runtimes/linux-x64/native/libgdiplus.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.7/libgdiplus.so: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/libgdiplus.so: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/runtimes/linux-x64/native/gdiplus: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.7/gdiplus: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/gdiplus: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/runtimes/linux-x64/native/libgdiplus: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.7/libgdiplus: cannot open shared object file: No such file or directory /www/wwwroot/x.opent.cn/libgdiplus: cannot open shared object file: No such file or directory
  1. 安装 libgdiplus

sudo apt-get update
sudo apt-get install -y libgdiplus

2. 确保安装路径正确

export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH

3. 验证安装

ldconfig -p | grep libgdiplus


相关文章

iis发布

publish.zip文件...

CICD

1)克隆代码将要放置代码的文件夹点击右键选择"Git Clone",在Url中输入代码库的地址,确定后输入默认用户名与密码2)提交代码:这个提交只是向本地的代码库提交,并没有提交至...

在Ubuntu上安装ASP.NET Core 8

1. 安装必要的依赖项更新包列表并安装依赖项:sudo apt-get update sudo apt-get install -y wg...

ubuntu 安装中文

sudo apt update sudo apt install language-pack-zh-hans sudo upda...

linux asp.net core sb.AppendLine 乱码

1、检查系统默认编码:locale显示:LANG=zh_CN.UTF-8  LANGUAGE=   LC_CTYPE="zh_CN.UTF-8"&...

查看ubuntn 版号

lsb_release -a...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。