Installing Imagemagick with Hombrew ( libtiff fix ) UPDATED

UPDATE Jan 24 2012 – RESOLVED

I got ImageMagick Installed with nothing more than brew install imagemagick, big thanks to the community behind Homebrew dont forget to pay them a visit on IRC freenode #machomebrew

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

When i updated to Lion i found out that most of my libraries where gone, including the much needed ImageMagick, i couldn’t install it with MacPorts for some odd reason so i installed it by source, huge mistake, one of my apps stopped working.

Today i tried installing with Homebrew, but i got stuck trying to install libtiff, if you ever run into this problem, just try this

By doing a quick Google Search i found out that you can download the file on your Hombrew Cache folder like user mikel notes here https://github.com/mxcl/homebrew/pull/5168#issuecomment-2047059

UPDATE:

After installing ImageMagick i found that i could not run identify or convert, the error was

dyld: Library not loaded: /opt/local/lib/libltdl.7.dylib
Referenced from: /usr/local/bin/convert
Reason: Incompatible library version: convert requires version 11.0.0 or later, but libltdl.7.dylib provides version 10.0.0
Trace/BPT trap: 5

After googling a little i found this bug https://github.com/mxcl/homebrew/issues/6891 it’s for OS X and Lion, i had to remove little-cms and imagemagick then install again just imagemagick

brew remove little-cms –force
brew remove imagemagick
brew install imagemagick

Turns out that doesn’t cut it either, i followed this post with a question on Stack Overflow I’ll try to install from source again.

  • http://waynepan.com Wayne

    Ran into this problem tonight…. the final trick that did it for me was reinstalling libtiff. This was after downloading latest XCode 4.2 beta, java update, uninstalling and reinstalling imagemagick multiple times.

    brew uninstall libtiff
    brew install libtiff

    @waynep

  • admin

    Thanks Wayne, the error happened to me as well with XCode 4.2 Beta, I’ll try to install from source again

  • admin

    ImageMagick now works out of the box