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

浪淘沙2年前服务器512
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文件...

win11 激活

右击开始图标,打开Windows终端(管理员),输入以下命令(分开三次执行 )slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX slmgr -skms kms...

宝塔面板设置 mysql 允许远程连接

https://blog.csdn.net/haibo0668/article/details/121204589...

ubuntu 宝塔 Supervisor asp.net core

ubuntu 宝塔 Supervisor asp.net core

dotnet xxtsoftMain.dll...

宝塔Redis不能远程连接的解决方法

1. 登录宝塔面板首先,我们需要登录宝塔面板。打开浏览器,输入宝塔面板的地址,然后输入用户名和密码进行登录。2. 打开Redis管理在宝塔面板的首页,我们可以看到各种管理工具。找到Redis管理工具,...

查看ubuntn 版号

lsb_release -a...

发表评论    

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