报错信息:
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
时间: 2024-10-12 10:16:59