[BlueOnyx:23803] Problem with ImageMagick!! - Update of ImageMagick

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Tue Apr 28 03:29:42 -05 2020


Good morning,

 

this morning came with the updates an update for CentOS7 to CentOS Linux
release 7.8.2003 (Core)

As it looks like, ImageMagick was updated as well. All PHP versions built by
Michael/Solarspeed/Blueonyx show an error message since this morning:

 

/home/solarspeed/php-7.2/bin/php -v

PHP Warning:  PHP Startup: Unable to load dynamic library
'/home/solarspeed/php-7.2/lib/php/20170718/imagick.so' (tried:
/home/solarspeed/php-7.2/lib/php/20170718/imagick.so (libMagickCo
re.so.5: cannot open shared object file: No such file or directory),
/home/solarspeed/php-7.2/lib///home/solarspeed/php-7.2/lib/php/20170718/imag
ick.so.so (/home/solarspeed/php-7.2/lib//
/home/solarspeed/php-7.2/lib/php/20170718/imagick.so.so: cannot open shared
object file: No such file or directory)) in Unknown on line 0

 

/home/solarspeed/php-7.3/bin/php -v

PHP Warning:  PHP Startup: Unable to load dynamic library
'/home/solarspeed/php-7.3/lib/php/20180731/imagick.so' (tried:
/home/solarspeed/php-7.3/lib/php/20180731/imagick.so (libMagickWa
nd.so.5: cannot open shared object file: No such file or directory),
/home/solarspeed/php-7.3/lib///home/solarspeed/php-7.3/lib/php/20180731/imag
ick.so.so (/home/solarspeed/php-7.3/lib//
/home/solarspeed/php-7.3/lib/php/20180731/imagick.so.so: cannot open shared
object file: No such file or directory)) in Unknown on line 0

 

/home/solarspeed/php-7.1/bin/php -v

PHP Warning:  PHP Startup: Unable to load dynamic library
'/home/solarspeed/php-7.1/lib/php/20160303/imagick.so' - libMagickWand.so.5:
cannot open shared object file: No such file or directory in Unknown on line
0

 

 

The reason is that the /home/solarspeed/php-*/lib/php/*/imagick.so is build
against 

 

libMagickCore.so.5.0.0

libMagickWand.so.5.0.0

 

However since the version upgrade of CentOS only the following files are
available:

 

libMagickCore-6.Q16.so.6.0.0

libMagickWand-6.Q16.so.6.0.0

 

It makes no differences if I use an old Michael/Solarspeed/Blueonyx PHP
Version or the latest pkg-file.

 

There is a dirty fix for this problem:

 

ln -s /usr/lib64/libMagickWand-6.Q16.so.6.0.0 /usr/lib64/libMagickWand.so.5

ln -s /usr/lib64/libMagickWand-6.Q16.so.6.0.0
/usr/lib64/libMagickWand.so.5.0.0

 

ln -s /usr/lib64/libMagickCore-6.Q16.so.6.0.0 /usr/lib64/libMagickCore.so.5

ln -s /usr/lib64/libMagickCore-6.Q16.so.6.0.0
/usr/lib64/libMagickCore.so.5.0.0

 

After this the imagick.so module is working agian.

I have no idea if this have some side effects however it should work until
Michael will rebuild the imagick.so against the new version of ImageMagick
or will find some other way to work around.

 

Best regards,

Dirk



 
blackpoint GmbH – Friedberger Straße 106b – 61118 Bad Vilbel 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20200428/ed40d352/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5506 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20200428/ed40d352/attachment.p7s>


More information about the Blueonyx mailing list