LoginSignup
1
1

More than 5 years have passed since last update.

MacOS10系で brew link が怒られた時は。

Last updated at Posted at 2015-04-28

$ brew link libtool

すると、以下のエラーが。

Error: Could not symlink share/info/libtool.info
/usr/local/share/info is not writable.

こういうエラーが出るときは、書き込み権限の問題。
brewはUserから可能だが、 /usr/local/share/info 自体は root 権限になっていたことが原因と考えられる。

$ sudo chown -R $USER /usr/local/share/info/
$ brew link libtool
$ brew doctor

これでエラーを吐かなくなった。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1