编译Nginx时提示./configure: error: the HTTP gzip module requires the zlib library

编程入门 行业动态 更新时间:2024-10-15 02:27:50

编译Nginx时<a href=https://www.elefans.com/category/jswz/34/1771018.html style=提示./configure: error: the HTTP gzip module requires the zlib library"/>

编译Nginx时提示./configure: error: the HTTP gzip module requires the zlib library

在Linux安装Nginx的时候执行./configure  --prefix=/usr/local/nginx命令的时候报错提示:

由于缺少依赖组件,导致nginx相应的模块无法进行安装。

使用yum install -y zlib-devel安装

再次使用./configure  --prefix=/usr/local/nginx命令:

更多推荐

编译Nginx时提示./configure: error: the HTTP gzip module requires the zlib library

本文发布于:2024-03-23 18:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1741516.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:提示   error   HTTP   Nginx   configure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!