本帖最后由 xiaopeng0803 于 2012-11-08 16:25:26 编辑

解决方案 »

  1.   

    三种解决方法:
    1、disable the module by using --without-http_gzip_module(编译时加上这句)
    2、install the zlib library into the system
    3、 build the zlib library statically from the source with nginx by using --with-zlib=<path> option.在出错的后面都给你提示了,自己要注意看这个提示
      

  2.   

    木有zlib
    yum或者编译一个zlib-dev
      

  3.   

    zlib没找到,你安装一下这个库就好了,yum install zlib