Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot brew link libtool

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?

like image 345
Colton Seal Avatar asked Nov 24 '14 20:11

Colton Seal


1 Answers

Try this:

$ sudo chown -R $USER /usr/local/share/info && brew doctor
like image 56
Agis Avatar answered Sep 27 '22 20:09

Agis