日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

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

發(fā)布時間:2025/3/19 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php cannot find libz,brew安装php70出现configure: error: Cannot find libz 错误解决方法 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

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?`‘

解決方法:

在命令行執(zhí)行

$?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

總結(jié)

以上是生活随笔為你收集整理的php cannot find libz,brew安装php70出现configure: error: Cannot find libz 错误解决方法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。