Imagick & Imagemagick on XAMPP on Mac OS

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
bluwu
Posts: 1
Joined: 2018-09-10T08:12:17-07:00
Authentication code: 1152

Imagick & Imagemagick on XAMPP on Mac OS

Post by bluwu »

I am trying to install Imagick and Imagemagick on a XAMPP installation on Mac OSX. XAMPP is up and running but getting either Imagick or Imagemagick is challenging. Any guidance would be appreciated.

I tried a few times and got these types of errors.

Attempt 1

PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libdjvulibre.so.21)), /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libdjvulibre.so.21))) in Unknown on line 0

Attempt 2

PHP Startup: Unable to load dynamic library '/root/build/imagick-3.4.3/.libs/imagick.so' (tried: /root/build/imagick-3.4.3/.libs/imagick.so (/opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libdjvulibre.so.21)), /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718//root/build/imagick-3.4.3/.libs/imagick.so.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20170718//root/build/imagick-3.4.3/.libs/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Post Reply