Page 1 of 1

ImageMagick distribution not working on OSX El Capitan

Posted: 2015-12-26T13:18:57-07:00
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!

Re: ImageMagick distribution not working on OSX El Capitan

Posted: 2016-01-07T08:33:22-07:00
by dhoerl
Exact same problem - wow, no one cares that it won't work on the latest Mac OS X?

Re: ImageMagick distribution not working on OSX El Capitan

Posted: 2016-01-07T11:12:05-07:00
by magick
We'll upload a fix for this problem as soon as we get a chance. Hopefully, sometime this weekend.

Re: ImageMagick distribution not working on OSX El Capitan

Posted: 2016-01-08T00:38:02-07:00
by shabeebrizvi
Desperately waiting... Thanks! :shock:

Re: ImageMagick distribution not working on OSX El Capitan

Posted: 2016-01-08T01:17:59-07:00
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

Re: ImageMagick distribution not working on OSX El Capitan

Posted: 2016-06-02T05:32:41-07:00
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...)