当初阿里云新系统直接装的宝塔,Ubuntu 20.04升级nginx1.20.2时失败
- checking for GD library ... not found
- checking for GD library in /usr/local/ ... not found
- checking for GD library in /usr/pkg/ ... not found
- checking for GD library in /opt/local/ ... not found
- ./configure: error: the HTTP image filter module requires the GD library.
- You can either do not enable the module or install the libraries.
- make: *** No rule to make target 'build', needed by 'default'. Stop.
- ========================================================
- Ubuntu 20.04.3 LTS
- \l
- Bit:64 Mem:7606M Core:2 gcc:9.3.0 cmake:3.16.3
- Linux 5.4.0-91-generic x86_64
复制代码 尝试安装libgd-dev也失败- sudo apt-get install libgd-dev
- libxpm-dev 无法安装
- libx11-dev 无法安装
- libxt-dev 无法安装
- E: Unable to correct problems, you have held broken packages.
复制代码
update+upgrade都没问题,没搜到怎么解决,有没有大神可以帮忙看看?谢谢!
顺便吐槽下,我贴点代码,总是提示“抱歉,您填写的内容包含不良信息而无法提交”,不知道哪个单词是不良信息,又没fuck
|
|