Homebrew Symlink Error

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

    I uninstalled what homebrew had so far installed (libevent dependency):

    brew uninstall libevent
    

    Then chow-ned the usr/local directory:

    sudo chown -R $(whoami) /usr/local
    

    Then tried to install memcached again and it worked:

    brew install memcached
    

提交回复
热议问题