0%

升级系统后homebrew的几种报错

homebrew安装软件 报错xcrun: error: invalid active developer path

1
2
3
4
5
解决方法,重装xcode command line:

xcode-select --install

sudo xcode-select -switch /

homebrew安装软件 报错/usr/local/Cellar is not writable

1
sudo chown -R $(whoami) /usr/local/Cellar

homebrew安装软件 报错 Library not loaded: /usr/local/lib/libx264.142.dylib

1
brew doctor