ImageMagick distribution not working on OSX El Capitan

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
snacktacular
Posts: 1
Joined: 2015-12-26T13:11:17-07:00
Authentication code: 1151

ImageMagick distribution not working on OSX El Capitan

Post by snacktacular »

Hi, I tried to run convert from ImageMagick-x86_64-apple-darwin15.0.0.tar.gz but received the following error message on an up-to-date OSX El Capitan system:

Code: Select all

$ export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"
$ ImageMagick-6.9.2/bin/convert --help
dyld: Library not loaded: /opt/local/lib/libexpat.1.dylib
  Referenced from: /Users/***/bin/ImageMagick-6.9.2/lib//libfontconfig.1.dylib
  Reason: Incompatible library version: libfontconfig.1.dylib requires version 8.0.0 or later, but libexpat.1.dylib provides version 7.0.0
Trace/BPT trap: 5
Security policies prevent me from installing homebrew. Is there an easy way to run a downloaded distribution of ImageMagick on a fresh install of El Capitan? Or do I have to locally build some updated dependencies such as libexpat manually first? Thanks!
dhoerl
Posts: 1
Joined: 2016-01-07T08:31:57-07:00
Authentication code: 1151

Re: ImageMagick distribution not working on OSX El Capitan

Post by dhoerl »

Exact same problem - wow, no one cares that it won't work on the latest Mac OS X?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick distribution not working on OSX El Capitan

Post by magick »

We'll upload a fix for this problem as soon as we get a chance. Hopefully, sometime this weekend.
shabeebrizvi
Posts: 1
Joined: 2016-01-08T00:34:26-07:00
Authentication code: 1151

Re: ImageMagick distribution not working on OSX El Capitan

Post by shabeebrizvi »

Desperately waiting... Thanks! :shock:
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick distribution not working on OSX El Capitan

Post by fmw42 »

If desperate, you could do what I do on my Mac OSX Snow Leopard. See viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202
ThisGuyMontag
Posts: 1
Joined: 2016-06-02T05:25:15-07:00
Authentication code: 1151

Re: ImageMagick distribution not working on OSX El Capitan

Post by ThisGuyMontag »

If it's an issue of security status, you might need to disable the System Integrity Protection.
When I upgraded to El Capitan SIP created such Terminal pain until someone posted about it online.

Simple instructions:
1. Boot in recovery mode (restart and press command+R when the computer is starting up)
2. Open terminal when recovery mode is up
3. Type in: csrutil disable
4. Reboot normally
5. Do what you need to do, change what you need to change
6. Repeat 1-3 except type: csrutil enable

A more comprehensive set of instructions are here:

http://superuser.com/a/981163/525367


Although it's a pain to deal with, it's important that you reenable SIP.
Remember these steps in the future whenever you run into terminal issues that didn't occur before, it's highly likely that the System Integrity Protection is to blame.




If it's not a system security issue, then I'm as stumped as you (I'm new to ImageMagick and I'm having my own issues cropping an image and getting an error...)
Post Reply