1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 计算机缺少GD132.dll Ubuntu12.04宝塔面板安装nginx报错 缺少GD library环境依赖包

计算机缺少GD132.dll Ubuntu12.04宝塔面板安装nginx报错 缺少GD library环境依赖包

时间:2020-07-02 05:09:06

相关推荐

计算机缺少GD132.dll Ubuntu12.04宝塔面板安装nginx报错 缺少GD library环境依赖包

Ubuntu 12.04系统宝塔面板安装nginx报错

./configure: error: the HTTP image filter module requires the GD library.

You can either do not enable the module or install the libraries.

根据提示来看是没有GD依赖包,在宝塔面板的SSH终端里面输入sudo apt-get install -y libgd-dev安装,但出现提示:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package libgd-dev is a virtual package provided by:

libgd2-xpm-dev 2.0.36~rc1~dfsg-6ubuntu2.4

libgd2-noxpm-dev 2.0.36~rc1~dfsg-6ubuntu2.4

You should explicitly select one to install.

E: Package 'libgd-dev' has no installation candidate

根据提示来看,这是要我们选择libgd2-xpm-dev 还是libgd2-noxpm-dev,豫章小站在百度和谷歌上都没有搜索到这两个包的区别,所以直接就选择libgd2-xpm-dev安装。

sudo apt-get install -y libgd2-xpm-dev

安装GD依赖包之前可以先执行sudo apt-get update更新下列表。GD依赖包安装成功以后再到宝塔面板安装nginx就成功了。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。