Homebrew Symlink Error

前端 未结 5 948
小鲜肉
小鲜肉 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:30

    It seems that since El Capitan the file permissions in /usr/local have been changed, causing the above problem for me.

    Instead of the chosen solution I suggest to do a:

    sudo chown -R :staff /usr/local
    

    This will work for all users

提交回复
热议问题