Closed gerben-van-eck closed 3 years ago
I came across this one when using alpine:latest
, which is 3.11 now. Since the binaries here are made for 3.10 you have to stick with alpine:3.10
until there is a new release for php-alpine...
This issue occurs in Alpine 3.10, see the issue+PR I made an you also commented on.
# apk add php7-imagick
(1/11) Installing libxau (1.0.9-r0)
(2/11) Installing libbsd (0.9.1-r0)
(3/11) Installing libxdmcp (1.1.3-r0)
(4/11) Installing libxcb (1.13.1-r0)
(5/11) Installing libx11 (1.6.8-r1)
(6/11) Installing libxext (1.3.4-r0)
(7/11) Installing fontconfig (2.13.1-r0)
(8/11) Installing lcms2 (2.9-r1)
(9/11) Installing libltdl (2.4.6-r6)
(10/11) Installing imagemagick-libs (7.0.8.68-r0)
(11/11) Installing php7-pecl-imagick (3.4.4-r1)
Executing busybox-1.30.1-r3.trigger
OK: 439 MiB in 159 packages
/ # php -v
Cannot load Xdebug - it was already loaded
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php7/modules/imagick.so (Error relocating /usr/lib/php7/modules/imagick.so: add_index_zval: symbol not found), /usr/lib/php7/modules/imagick.so.so (Error loading shared library /usr/lib/php7/modules/imagick.so.so: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php7/modules/imagick.so (Error relocating /usr/lib/php7/modules/imagick.so: add_index_zval: symbol not found), /usr/lib/php7/modules/imagick.so.so (Error loading shared library /usr/lib/php7/modules/imagick.so.so: No such file or directory)) in Unknown on line 0
PHP 7.4.3 (cli) (built: Mar 20 2020 07:14:36) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.8.1, Copyright (c) 2002-2019, by Derick Rethans
Alpine 3.10
new build available, please test and report back.
new build available, please test and report back.
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php7/modules/imagick.so (Error relocating /usr/lib/php7/modules/imagick.so: add_index_zval: symbol not found), /usr/lib/php7/modules/imagick.so.so (Error loading shared library /usr/lib/php7/modules/imagick.so.so: No such file or directory)) in Unknown on line 0
nowadays this is fixes, closing this
When using the php-imagick module, when you start the PHP interpreter, an error is shown. This error is very much like https://github.com/microsoft/msphpsql/issues/999 so the cause is likely external, but maybe someone here can create a solution? Otherwise just close with wontfix.