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