Administrator
发布于 2022-12-04 / 286 阅读
44
0

nginx编译module ngx_cache_purge-2.3

nginx 编译添加module ngx_cache_purge-2.3

  1. 可能出现的报错和解决方法
./configure: error: the invalid value in --with-ld-opt="-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E"
yum -y install redhat-rpm-config.noarch
./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.
yum install libxslt-devel  libxml2-devel
./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
yum install gd-devel
./configure: error: perl module ExtUtils::Embed is required
yum -y install perl-devel perl-ExtUtils-Embed
./configure: error: the Google perftools module requires the Google perftools
library. You can either do not enable the module or install the library.
yum install gperftools -y

评论