![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /usr/local/src/imagick/docker/ |
#!/usr/bin/env bash set -e set -x # git clone https://github.com/ImageMagick/ImageMagick.git SRCFILE="ImageMagick-7.0.8-14" # SRCFILE="ImageMagick-7.0.1-0" # SRCFILE="ImageMagick-7.0.4-9" SRCFILE="ImageMagick-7.0.10-27" # SRCFILE="ImageMagick-7.0.10-10" tar -xzf /var/app/imagemagick_src/${SRCFILE}.tar.gz -C /var/app/imagemagick_src cd /var/app/imagemagick_src/${SRCFILE} ./configure --with-quantum-depth=16 \ --with-magick-plus-plus=no \ --without-perl \ --disable-docs \ --with-openexr=yes \ --with-fontconfig=yes \ --with-fftw \ --with-heic=yes \ --with-jpeg=yes \ --with-png=yes \ --with-tiff=yes \ --with-urw-base35-font-dir=/usr/share/fonts/type1/urw-base35 \ --with-webp=yes # ./configure --with-quantum-depth=16 \ # --with-magick-plus-plus=no \ # --without-perl \ # --disable-docs \ # --with-openexr=yes \ # --with-fontconfig=yes \ # --with-fftw \ # --with-heic=yes \ # --with-jpeg=yes \ # --with-png=yes \ # --with-tiff=yes \ # --with-urw-base35-font-dir=/usr/share/fonts/type1/urw-base35 \ # --with-webp=yes \ # --with-rsvg # --disable-openmp # ImageMagick appears to not fully respect lib paths even when # setting `--libdir=/usr/local/lib` running this ldconfig command # is needed to avoid errors like: # convert -v # convert: error while loading shared libraries: libMagickCore-7.Q16HDRI.so.9: # cannot open shared object file: No such file or directory sudo ldconfig /usr/local/lib # If for some reason you can't run ldconfig, you could also symlink # the files directly. # ln -s /usr/local/lib/libMagickCore-7.Q16HDRI.so.0 /usr/lib/x86_64-linux-gnu/libMagickCore-7.Q16HDRI.so.0 # ln -s /usr/local/lib/libMagickWand-7.Q16HDRI.so.0 /usr/lib/x86_64-linux-gnu/libMagickWand-7.Q16HDRI.so.0 make install -j 4