Homebrew Symlink Error

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

    after i performed the suggestions in @septerr answer, i still was unable to install carthage via homebrew... after some googleing i found this: Gist https://gist.github.com/dalegaspi/7d336944041f31466c0f9c7a17f7d601

    Anyway... got this:

    Error: An unexpected error occurred during the 'brew link' step The formula built, but is not symlinked into /usr/local Permission denied @ dir_s_mkdir - /usr/local/Frameworks Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

    did this:

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

    and

    sudo install -d -o $(whoami) -g admin /usr/local/Frameworks

    after that is was able to install carthage successfully

提交回复
热议问题