ImageMagick suggested compile options

less than 1 minute read

  1. Download ImageMagick source
  2. prereqs
    apt install libpng-dev libwebp-dev librsvg2-dev libgs-dev libperl-dev gcc g++ make
    
  3. build ImageMagick
    ./configure --with-modules --with-gslib --with-perl --with-rsvg --enable-hdri --prefix=$HOME/.local
    
    make -j2
    make install
    

Notes

libMagickCore-7.Q16HDRI.so.5: cannot open shared object file: No such file or directory

  1. Find library:
    find ~/.local -name "libMagick*.so.*"
    
  2. assuming it’s in ~/.local/lib
    ldconfig ~/.local/lib
    

Leave a Comment