问题
./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=
答案
yum -y install zlib-devel
./configure:错误:HTTP gzip模块需要zlib库
最新推荐文章于 2025-01-17 21:55:01 发布
本文解决了一个常见的nginx配置问题,即当尝试使用HTTP gzip模块时遇到的错误,该错误提示需要zlib库。提供了通过安装zlib-devel包来解决此问题的方法。
6737

被折叠的 条评论
为什么被折叠?



