If you trying to install a package, say Carthage via homebrew and you are getting some errors during the symlinking, here is how I fixed it:
- brew update
sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks
brew install <thing-to-install>
If you have already installed the package and got the error. And that brought you here, then just run #3, #4 and then simply
brew link <thing-to-install>
You are welcome.