错误信息:
./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=<path> option.
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201230221601787.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0RyZWFtaGFp,size_16,color_FFFFFF,t_70)
解决办法:
- 安装
zlib
sudo apt-get install zlib1g-dev
注意:
zlig1g-dev
中的第5个字母不是l
,而是阿拉伯数字1
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)