brew link libtool 出错:Could not symlink, /usr/local/bin is not writable

处理方法:

参考:https://stackoverflow.com/questions/26647412/homebrew-could-not-symlink-usr-local-bin-is-not-writable?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


For those who are looking for /usr/local/sbin is not writable error:

UPDATE: It could be /usr/local/someOtherFolderName e.g /usr/local/include. You just need to create that folder with:

  • sudo mkdir someOtherFolderName

First create the sbin folder, note that this requires sudo privileges

  • cd /usr/local

  • sudo mkdir sbin

  • sudo chown -R $(whoami) $(brew --prefix)/*

  • brew link yourPackageName

你可能感兴趣的:(ios)