Error when trying to “brew link autoconf”

后端 未结 6 547
终归单人心
终归单人心 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:13

    You need to make sure that all the files and folders in /usr/local are writable by you. You can do this by typing the following command

    chown -R yourusername /usr/local
    chmod -R u+w /usr/local
    

    You may have to use sudo for those commands to work.

    After you do this, try linking again.

提交回复
热议问题