title: ImageMagick: dyld: Library not loaded. Reason: image not found
body: <ol>
  <li>I downloaded ImageMagick from <a href="https://www.imagemagick.org/script/download.php#macosx" rel="noreferrer">https://www.imagemagick.org/script/download.php#macosx</a></li>
  <li>extracted it to ~/Documents/software</li>
  <li>my <code>.profile</code> looks like this:</li>
  </ol>
  
  <blockquote>
  <pre><code>export MAGICK_HOME="~/Documents/software/ImageMagick-7.0.7"
  export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"
  export PATH="$MAGICK_HOME/bin:$PATH"
  </code></pre>
  </blockquote>
  
  <ol start="4">
  <li>when I run <code>convert</code> I get:</li>
  </ol>
  
  <blockquote>
    <p>dyld: Library not loaded:
    /ImageMagick-7.0.7/lib/libMagickCore-7.Q16HDRI.4.dylib<br>
    Referenced from: /Users/oa/Documents/software/ImageMagick-7.0.7/bin/convert<br>
    Reason: image not found
    Abort trap: 6</p>
  </blockquote>