ERROR - 2021-06-18 12:30:32 --> Severity: Core Warning --> PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (libzip.so.5: cannot open shared object file: No such file or directory), /usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/php72/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) Unknown 0
Two cases -steps :
For some reason powertools repo was missing
Installed :
dnf config-manager --set-enabled powertools
Without this option I had errors with compilation in some modules like oniguruma
After enable powertools
Removed Unistalled imagick and reinstalled
Finally remained :
ldd /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so
linux-vdso.so.1 (0x00007ffe4c47a000)
libMagickWand-7.Q16HDRI.so.10 => /usr/local/lib/libMagickWand-7.Q16HDRI.so.10 (0x00007ff08cabc000)
libMagickCore-7.Q16HDRI.so.10 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.10 (0x00007ff08c4d6000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff08c111000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00007ff08be64000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007ff08bc2a000)
libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007ff08b9f7000)
libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007ff08b78a000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007ff08b579000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x00007ff08b21c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff08b018000)
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00007ff08ad1c000)
libz.so.1 => /lib64/libz.so.1 (0x00007ff08ab05000)
libzip.so.5 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff08a8e5000)
libgomp.so.1 => /lib64/libgomp.so.1 (0x00007ff08a6ad000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff08a32b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff08a113000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff08d030000)
libzip.so.5 => not found
Last step dnf install libzip
cd /usr/local/directadmin/custombuild
./build update
./build set imagick yes
./build imagick
Seems something going wrong with powertools repo on latest updates
Two cases -steps :
For some reason powertools repo was missing
Installed :
dnf config-manager --set-enabled powertools
Without this option I had errors with compilation in some modules like oniguruma
After enable powertools
Removed Unistalled imagick and reinstalled
Finally remained :
ldd /usr/local/php73/lib/php/extensions/no-debug-non-zts-20180731/imagick.so
linux-vdso.so.1 (0x00007ffe4c47a000)
libMagickWand-7.Q16HDRI.so.10 => /usr/local/lib/libMagickWand-7.Q16HDRI.so.10 (0x00007ff08cabc000)
libMagickCore-7.Q16HDRI.so.10 => /usr/local/lib/libMagickCore-7.Q16HDRI.so.10 (0x00007ff08c4d6000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff08c111000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00007ff08be64000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x00007ff08bc2a000)
libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x00007ff08b9f7000)
libwebp.so.7 => /usr/local/lib/libwebp.so.7 (0x00007ff08b78a000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007ff08b579000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x00007ff08b21c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff08b018000)
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00007ff08ad1c000)
libz.so.1 => /lib64/libz.so.1 (0x00007ff08ab05000)
libzip.so.5 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff08a8e5000)
libgomp.so.1 => /lib64/libgomp.so.1 (0x00007ff08a6ad000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff08a32b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff08a113000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff08d030000)
libzip.so.5 => not found
Last step dnf install libzip
cd /usr/local/directadmin/custombuild
./build update
./build set imagick yes
./build imagick
Seems something going wrong with powertools repo on latest updates
Last edited: