Error when trying to “brew link autoconf”

后端 未结 6 591
终归单人心
终归单人心 2021-02-01 19:38

When I try to \"brew link autoconf\" in the terminal I keep getting this error.

Error: Could not symlink file: /usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp /usr

6条回答
  •  面向向阳花
    2021-02-01 20:12

    I had to run the following commands

    chown -R yourusername /usr/local
    chmod -R u+w /usr/local
    brew link --overwrite autoconf
    

提交回复
热议问题