编译Nginx提醒gzip module requires the zlib library

编译Nginx提示gzip module requires the zlib library新手在尝试安装nginx时,常常会因为缺少依赖组件,导致

编译Nginx提示gzip module requires the zlib library

新手在尝试安装nginx时,常常会因为缺少依赖组件,导致nginx相应模块无法安装,在执行“./configure”时常出现错误。

若在“./configure”后方加入了“--with-http_gzip_static_module”(添加gzip压缩模块)提示以下错误:


标签:?nginx,?gzip,?zlib