For those who do not use brew, using otool -L shows the problem:
/ImageMagick-7.0.10/lib/libMagickCore-7.Q16HDRI.8.dylib (compatibility version 9.0.0, current version 9.0.0)
/ImageMagick-7.0.10/lib/libMagickWand-7.Q16HDRI.8.dylib (compatibility version 9.0.0, current version 9.0.0)
/opt/X11/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.6.0)
/opt/X11/lib/libpng16.16.dylib (compatibility version 43.0.0, current version 43.0.0)
/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 904.4.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.0.0)
/opt/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
/opt/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
brew install imagemagick
and you are done. – Mark Setchell$HOME
instead of~
as that works in more shells. Second, try usingotool -L /Users/oa/Documents/software/ImageMagick-7.0.7/bin/convert
to see what yourconvert
binary actually needs/wants. Also, tryDYLD_PRINT_LIBRARIES=1 DYLD_PRINT_LIBRARIES_POST_LAUNCH=1 convert ...
to debug dynamic link libraries. Finally, resort to homebrew ;-) – Mark Setchell