redhat 6.4 安装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 gd-devel,需要下载该文件。
安装方式:
yum install -y libpng-devel libjpeg-devel libXpm-devel libX11-devel freetype-devel fontconfig-devel
wget ftp://ftp.muug.mb.ca/mirror/centos/6.5/os/x86_64/Packages/gd-devel-2.0.35-11.el6.x86_64.rpm
rpm -ivh gd-devel-2.0.35-11.el6.x86_64.rpm
1