编译Nginx提示gzip module requires the zlib library
编译Nginx提示gzip module requires the zlib library
新手在尝试安装nginx时,常常会因为缺少依赖组件,导致nginx相应模块无法安装,在执行“./configure”时常出现错误。
若在“./configure”后方加入了“--with-http_gzip_static_module”(添加gzip压缩模块)提示以下错误:
./configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using –without-http_gzip_moduleoption, or install the zlib library into the system, or build the zlib
librarystatically from the source with nginx by using –with-zlib=<path> option.
则需要安装“zlib-devel”即可。SSH执行以下命令:
yum install -y zlib-devel
转载于:https://blog.51cto.com/08jw3/1246956
编译Nginx提示gzip module requires the zlib library相关推荐
- ./configure: error: the HTTP gzip module requires the zlib library.
完整问题复现如下: ./configure: error: the HTTP gzip module requires the zlib library. You can either disable ...
- 安装nginx报错:the HTTP gzip module requires the zlib library
安装 zlib-devel yum install -y zlib-devel
- unbuntu nginx安装详解 /configure: error: the HTTP rewrite module requires the PCRE library
1 介绍 官网:https://nginx.org/en/download.html windows版本就不多说了,原理一模一样,下面直接介绍linux 下载: wget https://nginx. ...
- ./configure: error: the HTTP rewrite module requires the PCRE library
报错 ./configure: error: the HTTP rewrite module requires the PCRE library. 解决方法 安装PRCE 官网:https://ftp ...
- OpenCV3.4.5带GPU编译error: #error This file requires compiler and library support for the ISO C++ 2011
error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This su ...
- centos7 安装nginx报错./configure: error: the HTTP rewrite module requires the PCRE library
安装pcre-devel解决问题 yum -y install pcre-devel
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. ngnix 安装报错: 2. 解决: 安装pcre-devel解决问题,运行命令 yum - ...
- Ubuntu11.10 源码编译 Nginx
一.序言 兔尾的时候,将 wubi 安装的 ubuntu 系统给卸载了,原因是容量不够了,捣鼓了下扩展也捣鼓不出来,而且总感觉系统运行很慢,所以一不做二不休就将系统给卸载了,重新整过,而且整成了独立得 ...
- 编译nginx时的两个报错
为内部一台测试机./configure编译nginx时遇到报错,记录下来 ./configure \ --prefix=/usr/local/nginx \ 指定安装位置 --with-http_fl ...
最新文章
- 上传漏洞学习——upload-labs 闯关(二)
- 记一次热更新上传补丁包失败问题
- 参数方程求二阶偏导_偏微分方程
- Android之如何让Android studio编译更快
- 一次性计划任务at与周期性计划任务crontab
- mysql 多表删除
- HTC不认输!将再战智能手机市场,明年推出5G新机
- 多线程编程(14) - 多线程同步之 WaitableTimer (等待定时器对象)
- 极客学院 HTML5
- vue.js原生组件化开发(一)——组件开发基础
- LINUX虚拟机安装增强功能时报错:/sbin/mount.vboxsf: mounting failed with the error: No such device
- SQL查询中笛卡尔积的巧妙使用(文末福利)
- 申请SSL证书,并给域名配置SSL证书,并部署服务器;SSL证书的下载和安装
- MAC系统下测试IP+端口
- 1. 在 SAP ABAP 事物码 SEGW 里创建 SAP OData 项目
- 平价蓝牙耳机里面性价比高推荐?隐形蓝牙耳机超小推荐
- 将HTML的文件打包成为App,编程工具Hbuilder
- https攻击工具详解(arp欺骗、中间人攻击)(openssl+sslscan+sslsplit )
- 趋势指标(一)MACD指标
- n76e003引脚图_老司机带你入门新塘N76E003单片机