How to get working ImageMagick on Mac with brew

NOTE: Some libraries or packages use ImageMagick, check their dependencies and be aware to have them correctly installed.

This issue can break your app without an explicit error message. Hopefully this helps you to save time.

The problem

Recently I had some problems with ImageMagick on Mac.

I already had installed it but for some reason I had not linked it.

  • If have not installed it, run brew install imagemagick
  • Run brew doctor to get all the problems of your brew packages. I got:

Error: The  step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink share/doc/ImageMagick-6 /usr/local/share/doc is not writable. You can try again using:   brew link imagemagick

Get working ImageMagick on Mac with brew

Ok, let’s link it.

Just run brew link imagemagick

Error: Could not symlink share/doc/ImageMagick-6 /usr/local/share/doc is not writable.
Error: Could not symlink share/doc/ImageMagick-6 /usr/local/share/doc is not writable.

Wow, another problem!

Ok, make it writable running sudo chown -R $USER /usr/local/share

Now, run again brew link imagemagick

You should see the next succesful message 🙂
Captura de pantalla 2015-06-18 16.06.20

David Burgos

Read more posts by this author.