ubuntu系统安装nginx出现的错误(依赖环境没有安装完)

时间:2018-07-23 10:06:33   收藏:0   阅读:1922

报错信息:

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

编译参数:(或源安装)

./configure --prefix=/usr/local/nginx --user=nginx --group=nginx --enable-mods-shared=all --add-module=/usr/local/src/ngx_http_geoip2_module

过程报错:

./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.

解决方法:

安装 libgd-dev

sudo apt-get install -y libgd-dev

 

原文:https://www.cnblogs.com/fps2tao/p/9352964.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!