本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢!

 

今天在CentOS6.5下编译安装PHP时,一直报错

configure: error: ZLIB extension requires gzgets in zlib

而Zlib确定已经安装了。

使用Google根本搜索不到有关的错误。

尝试重新编译了Zlib,还是不行。

后面发现我的PHP编译选项里面有个

--with-libdir=lib64 \

删除之,再试下。

完美解决!

最后总算打印出来了

Thank you for using PHP.

Linux(CentOS6.5)下编译安装PHP5.6.22时报错”configure: error: ZLIB extension requires gzgets in zlib”的解决方式(确定已经编译安装Zlib,并已经指定Zlib路径)

相关文章:

  • 2021-10-19
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2021-12-17
  • 2021-09-22
  • 2022-12-23
  • 2022-02-25
  • 2021-08-24
  • 2021-11-13
相关资源
相似解决方案