.profile
looks like this:export MAGICK_HOME="~/Documents/software/ImageMagick-7.0.7" export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/" export PATH="$MAGICK_HOME/bin:$PATH"
convert
I get:dyld: Library not loaded: /ImageMagick-7.0.7/lib/libMagickCore-7.Q16HDRI.4.dylib
Referenced from: /Users/oa/Documents/software/ImageMagick-7.0.7/bin/convert
Reason: image not found Abort trap: 6
As suggested by @Mark Setchell, the solution was to replace ~
by $HOME
. Therefore, the export commands should be:
export MAGICK_HOME="$HOME/Documents/software/ImageMagick-7.0.7"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"
export PATH="$MAGICK_HOME/bin:$PATH"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With