D
D
Dmitry Bay2015-03-04 22:12:58
ImageMagick
Dmitry Bay, 2015-03-04 22:12:58

CentOS imagick.so: cannot open shared object file, how to fix?

Working with php from the console, warning
PHP Warning appears: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
, as I understand it, due to the fact that there is no imagick.so file in the modules folder.
I thought that if you reinstall imagick, then everything will be installed there by itself, including the imagick file in the modules folder, but no.
Tell me how to reinstall imagick correctly, so that php does not swear?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2015-03-05
@kawabanga

Solution:
installed php-devel from remi repository
then installed all required packages
AND installed extension:
pecl install imagick The
plug was in php-devel which couldn't install on php 5.4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question