Homebrew Symlink Error

前端 未结 5 883
小鲜肉
小鲜肉 2021-01-29 23:57

I am trying to install memcached using:

brew install memcached

This ends in error about homebrew not being able to create a symlink:

         


        
5条回答
  •  鱼传尺愫
    2021-01-30 00:41

    As of High Sierra, /usr/local is no longer chown-able. The new procedure suggested in a Homebrew issue is:

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

    FYI: If required /usr/local subfolders (e.g. ./include or ./Frameworks) are missing, you'll have to mkdir them first

提交回复
热议问题