PHP Startup: Unable to load dynamic library 'imagick.so'
PHP Version: PHP 8.1.19 (cli) (built: Jul 26 2023 14:35:46) (NTS)Linux Version: Alibaba Cloud Linux release 3 (Soaring Falcon)
Nginx Version: nginx version: nginx/1.24.0
lib version: libfontconfig.so.1 -> libfontconfig.so.1.12.0
安装imagick提示如下错误:
NOTICE: PHP message: PHP Warning:PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20210902/imagick.so (/usr/lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var), /usr/local/php/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
求大神解答,这是什么原因造成的,我该怎么修复。万分感谢。
有可能是你安装了fontconfig导致的
页:
[1]