无法酿造链接libtool

Col*_*eal 5 macos ruby-on-rails imagemagick libtool

我已经在Yosemite上安装了imagemagick,但在安装过程中我遇到了这个错误......

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

我试过brew link libtool但得到同样的错误

我试过跑步 brew doctor and brew prune

我还能做些什么来尝试正确安装?

Agi*_*gis 9

试试这个:

$ sudo chown -R $USER /usr/local/share/info && brew doctor
Run Code Online (Sandbox Code Playgroud)