Cannot brew link libtool

1.9k Views Asked by At

Ive installed imagemagick on Yosemite, but during the installation I got this error...

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

I have tried brew link libtool but get the same error

I have tried running brew doctor and brew prune

What else can I do to try and get this installed correctly?

1

There are 1 best solutions below

0
On BEST ANSWER

Try this:

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