Package: php8.4-imagick
Version: 3.7.0

On Debian 12; after installing *"php8.4-imagick"* package, the "php -v"
command is returning the warning below:

*PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so'
(tried: /usr/lib/php/20240924/imagick.so (/usr/lib/php/20240924/imagick.so:
undefined symbol: php_strtolower), /usr/lib/php/20240924/imagick.so.so
<http://imagick.so.so> (/usr/lib/php/20240924/imagick.so.so
<http://imagick.so.so>: cannot open shared object file: No such file or
directory)) in Unknown on line 0*

I am sending details below:

# apt-get install php8.4-imagick
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php8.4-imagick is already the newest version
(3.7.0-8+0~20241124.46+debian11~1.gbp8b7a30).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

////////////////////////////////////////////////////////////

# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so'
(tried: /usr/lib/php/20240924/imagick.so (/usr/lib/php/20240924/imagick.so:
undefined symbol: php_strtolower), /usr/lib/php/20240924/imagick.so.so
(/usr/lib/php/20240924/imagick.so.so: cannot open shared object file: No
such file or directory)) in Unknown on line 0
PHP 8.4.1 (cli) (built: Nov 21 2024 14:43:22) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.1, Copyright (c), by Zend Technologies


////////////////////////////////////////////////////////////

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

////////////////////////////////////////////////////////////

# php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
igbinary
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
random
readline
redis
Reflection
session
shmop
SimpleXML
snmp
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

////////////////////////////////////////////////////////////

# cat /etc/apt/sources.list
deb http://mirror.hetzner.com/debian/packages bookworm main contrib non-free
deb http://mirror.hetzner.com/debian/packages bookworm-updates main contrib
non-free
deb http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main
contrib non-free

Reply via email to