brew package can't link 问题
brew install [package]之后运行
~/ brew doctor Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: libevent
~/ brew link libevent Linking /usr/local/Cellar/libevent/2.1.8... Error: Could not symlink include/evdns.h /usr/local/include is not writable.
sudo chown -R usrname:admin /usr/local/ sudo chown -R usrname:admin /usr/include/ sudo chown -R usrname:admin /Library/...
~/ brew link libevent Linking /usr/local/Cellar/libevent/2.1.8... 817 symlinks created