Brew error: Could not symlink, path is not writable

后端 未结 5 542
醉梦人生
醉梦人生 2021-01-30 02:19

When I try to install a library with homebrew (brew install aLibrary), I got the following error:

Could not symlink lib/pkgconfig/a         


        
5条回答
  •  梦如初夏
    2021-01-30 02:57

    You should simply give the permission to your account by running this command on terminal.

    sudo chown -R $(whoami) (path)

    In your case: sudo chown -R $(whoami) lib/pkgconfig/aFile /usr/local/lib/pkgconfig

提交回复
热议问题