Page 1 of 1

Imagick, xampp, ubuntu 18.04, tears

PostPosted: 09. October 2018 17:34
by Agroprom
Hi all. I know this question was asked plenty of times but here we are again... :)

I was trying to intsall Imagick extension to my xampp according to this guide https://community.apachefriends.org/viewtopic.php?f=17&t=76417&hilit=imagick
Everything seemed to be fine, but unfortunately the last step doesn't work. In my php_error.log I have the following:

[09-Oct-2018 16:19:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /opt/lampp/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16) in Unknown on line 0

Re: Imagick, xampp, ubuntu 18.04, tears

PostPosted: 11. October 2018 16:59
by Agroprom
Simse like the situation got a little more clear. The first problem was with ZLIB_1.2.9. I installed it to /opt/lampp and that problem dissapeared.
New problem is "[11-Oct-2018 15:57:23 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/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) in Unknown on line 0"

Seems like I need to install libstdc++.so.6.

Re: Imagick, xampp, ubuntu 18.04, tears

PostPosted: 11. October 2018 17:29
by Agroprom
Yes, after coping libstdc++.so.6 to /opt/lampp/lib it works.

Re: Imagick, xampp, ubuntu 18.04, tears

PostPosted: 23. March 2019 19:51
by sunnymanny
Hello! I am facing a similar issue. I have everything working up until the CXXABI_1.3.8 error. My question is if you dont mind answering sir, from where can i copy libstdc++.so.6 from?