I can get over the first problem
dyld: Library not loaded: /opt/X11/lib/libpng15.15.dylib
Referenced from: /usr/local/ImageMagick-7.0.3/bin/convert
Reason: image not found
But then I get into the next one. All steps from beginning in detail:
System: OS-X El Capitan 10.11.6
Download: ImageMagick-x86_64-apple-darwin15.6.0.tar.gz
Verified digest: ok
Followed installation instructions on Download page but installed in /usr/local/mageMagick-7.0.3
(running as a normal user (not anymore root)
Code: Select all
$ export MAGICK_HOME=/usr/local/ImageMagick-7.0.3
$ export PATH=$MAGICK_HOME/bin:$PATH
$ export DYLD_LIBRARY_PATH=$MAGICK_HOME/lib
$ which convert
/usr/local/ImageMagick-7.0.3/bin/convert
Try 1:
Code: Select all
$ convert --version
dyld: Library not loaded: /opt/X11/lib/libpng15.15.dylib
Referenced from: /usr/local/ImageMagick-7.0.3/bin/convert
Reason: image not found
Trace/BPT trap: 5
Well X11 is under /usr - so i set:
Code: Select all
$ export DYLD_LIBRARY_PATH=$MAGICK_HOME/lib:/usr/X11/lib
Try 2:
Code: Select all
$ convert --version
dyld: Library not loaded: /opt/X11/lib/libpng15.15.dylib
Referenced from: /usr/local/ImageMagick-7.0.3/bin/convert
Reason: Incompatible library version: [color=#FF0000]convert requires version [b]27.0.0[/b][/color] or later, but [color=#FF0000]libpng15.15.dylib provides version [b]25.0.0[/b][/color]
Trace/BPT trap: 5
So (a) the binary searches the X11 libs below /opt - should be below /usr.
More importantly, (b), it does not work with the X11 version Apple ships with OS-X 10.11.6.
On the other hand the download is supposed to work with El Capitan (10.11.x) ....
or did i miss something ?