brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql

出错信息:configure: error: Cannot find libz

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):

https://github.com/josegonzalez/homebrew-php/issues

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in `raise_api_error‘: Validation Failed (GitHub::Error)

from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in `open‘

from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:233:in `issues_matching‘

from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:266:in `issues_for_formula‘

from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:325:in `fetch_issues‘

from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:321:in `issues‘

from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:383:in `dump‘

from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in ‘

from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `‘

解决方法:

在命令行执行

$ xcode-select --install

再次安装

$ brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql

成功解决。

参考链接:

http://stackoverflow.com/questions/39442552/5-boxen-errors-when-running-boxen-our-boxen

原文:http://phpecshop.blog.51cto.com/6296699/1883448

php cannot find libz,brew安装php70出现configure: error: Cannot find libz 错误解决方法相关推荐

  1. 安装postgreSQL出现configure: error: zlib library not found解决方法

    安装postgreSQL出现configure: error: zlib library not found解决方法 参考文章: (1)安装postgreSQL出现configure: error: ...

  2. linux apr文件解压失败,Apache编译安装提示configure: error: APR not found错误解决方法...

    在配置Apache的时候,出现configure: error: APR not found错误 原因是缺少一些依赖包,安装这些依赖包就行了 下载依赖包,注意我这里下载的与参考链接上的有些不同,安装上 ...

  3. 安装postgreSQL出现configure:error:readline library not found解决方法

    要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能. #yum install readline; #yu ...

  4. php安装redis扩展‘checking for igbinary includes... configure: error: Cannot find igbinary.h‘解决方法

    php安装redis扩展'checking for igbinary includes... configure: error: Cannot find igbinary.h'解决方法 参考文章: ( ...

  5. 安装CAJViewer时遇到注册模块出现1904错误解决方法

    当安装CAj时遇到这们的错误 解决方法是到C:\Program Files (x86)\Common Files\TTKN\Bin 把这个目录下的内容都删除了:再安装使用. 问题解决成功安装成功

  6. php安装redis扩展'checking for igbinary includes... configure: error: Cannot find igbinary.h'解决方法...

    今天准备给yii2安装redis扩展,先安装了redis服务,然后安装redis php官方扩展,在make的时候提示' checking for igbinary includes... confi ...

  7. Centos系统上安装php遇到的错误解决方法集锦

    Centos系统上安装php遇到的错误解决方法集锦 1.configure: error: xml2-config not found. Please check your libxml2 insta ...

  8. php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

    centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /us ...

  9. 打包解决方案后,安装时提示只能在IIS5.1以上运行解决方法

    打包解决方案后,安装时提示只能在IIS5.1以上运行解决方法 参考文章: (1)打包解决方案后,安装时提示只能在IIS5.1以上运行解决方法 (2)https://www.cnblogs.com/wp ...

最新文章

  1. Xamarin环境搭建
  2. Parse error: syntax error, unexpected T_PUBLIC in 问题解决
  3. JAVA: final 修饰符
  4. Fashion-MNIST数据集发布一周年,论文引用量超250篇
  5. 【机器视觉】 exit算子
  6. 【SDOI2014】数表【莫比乌斯反演】【树状数组】
  7. Excel和PPT已经落后了,可视化大屏强在哪?一次看过瘾
  8. VS2010用Winform编写 Excel程序
  9. Android Clipboard(复制/剪贴板)
  10. es的bucket和metric
  11. ppBaby的开发历程
  12. [BIM]BIM中IFD介绍
  13. 在超算上用sentieon快速完成NGS的变异检测
  14. flume自定义拦截器开发步骤
  15. 有人说“星座对自己的运势预测和性格描述很准”。请谈读你的看法。 “星座热”的社会学解读
  16. 基于jsp毕业设计题目50例
  17. C语言打开中文路径文件
  18. SetWinEventHook 事件钩子
  19. java 月份缩写_Java常用日期、时间格式化转换符
  20. 最新酷睿计算机配置,笔记本电脑什么配置好?来看最新Intel11代酷睿cpu

热门文章

  1. 反编译工具dnspy的安装与使用;
  2. Python 初学者必看:Python 异常处理集合
  3. Python列表的增删查改及常用操作
  4. RuntimeError: Error occured during execution of the processing block! See the log for more info
  5. python 测试multiprocessing多进程
  6. 【中级软考】白盒测试和黑盒测试
  7. Numpy 中 mean() 和 average() 的区别?(average可计算加权平均)
  8. python numba.jit 警告:cannot determine Numba type of class 'numba.dispatcher.LiftedLoop'(加速代码)
  9. Python 图片挑选程序,tkinter, 自动分类
  10. IText实现url转pdf, 解决中文字体问题