Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

How to fix NoMethodError after ImageMagick Update (OSX Homebrew)

Ian Ker-Seymer edited this page May 19, 2014 · 1 revision

If you run into this error after updating/installing ImageMagick on OSX:

Dyld Error Message:
  Library not loaded: /usr/local/lib/liblzma.5.dylib
  Referenced from: /usr/local/bin/identify
  Reason: image not found

Follow these steps:

  1. Remove ImageMagick:
brew remove --purge imagemagick
  1. Install optional dependencies for ImageMagick:
brew install fontconfig libtiff little-cms2 jasper libwmf librsvg liblqr openexr ghostscript webp
  1. Re-install ImageMagick
brew install imagemagick