Didn't notice any issues. Check:
Code:
ldd /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so
Try re-installing ImageMagick and imagick.
I already tried that. It seems to only fail with php 7.3. It works on 7.4 of 8.0.
# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libzip.so.5: cannot open shared object file: No such file or directory), /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.3.28 (cli) (built: May 16 2021 12:21:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.28, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.3.28, Copyright (c) 1999-2018, by Zend Technologies
# ldd /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so
linux-vdso.so.1 => (0x00007ffe8f9a9000)
libMagickWand-7.Q16HDRI.so.9 => /usr/local/lib/libMagickWand-7.Q16HDRI.so.9 (0x00007fe0545d8000)
libMagickCore-7.Q16HDRI.so.9 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.9 (0x00007fe054009000)
libc.so.6 => /lib64/libc.so.6 (0x00007fe053c3b000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00007fe05398e000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007fe053752000)
libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007fe053520000)
libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007fe0532b2000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fe0530a2000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x00007fe052d42000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fe052b3e000)
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00007fe052840000)
libz.so.1 => /lib64/libz.so.1 (0x00007fe05262a000)
libzip.so.5 => not found <<<<<<<< !!!!!
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe05240e000)
libgomp.so.1 => /lib64/libgomp.so.1 (0x00007fe0521e8000)
libm.so.6 => /lib64/libm.so.6 (0x00007fe051ee6000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe051cd0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe054b4b000)
libzip.so.5 => not found <<<<<<<< !!!!!
# locate libzip.so
/usr/lib64/libzip.so
/usr/lib64/libzip.so.2
/usr/lib64/libzip.so.2.1.0
/usr/local/lib64/libzip.so
/usr/local/lib64/libzip.so.5
/usr/local/lib64/libzip.so.5.0
/usr/local/lib64/libzip.so.5.3