php os darwin,解决Mac os(10.12.6) 编译php7提示“/usr/lib/system/libsystem_darwin.dylib”找不到...
直接引用老外的問題描述:
I can't install php71 with brew install php71 --with-httpd as an error appears during the make process :
ld: file not found: /usr/lib/system/libsystem_darwin.dylib for architecture x86_64
如下即可解決!
I just did a clean install of MacOS Sierra (10.12.6) and had this same issue. I installed homebrew before Xcode was fully downloaded. I noticed that homebrew downloaded and installed the command line tools itself. I'm not sure if that's was caused the problem, but here's how I fixed it:
Removed the command line tools
sudo rm -rf /Library/Developer/CommandLineTools
Reinstalled the command line tools via xcode
xcode-select --install
Set the correct path
xcode-select -s /Library/Developer/CommandLineTools
Then the php7 install works fine
brew install php71 --with-httpd
原文鏈接:點(diǎn)擊訪問
總結(jié)
以上是生活随笔為你收集整理的php os darwin,解决Mac os(10.12.6) 编译php7提示“/usr/lib/system/libsystem_darwin.dylib”找不到...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php 输入内容类型,实例解析php的
- 下一篇: 动态规划算法php,php算法学习之动态