Installing PHP Imagick with libmagickcore4
- by Ali
I have ImageMagick (version 6.6.9-7) on Ubuntu 12.04, which has libmagickcore4. When I tried to install PHP imagick, I received the following error:
The following packages have unmet dependencies:
php5-imagick : Depends: libmagickcore3 (>= 8:6.6.0.4) but it is not installable
Depends: libmagickwand3 (>= 8:6.6.0.4) but it is not installable
E: Unable to correct problems, you have held broken packages.
Apparently, the problem is that php5-imagick is based on libmagickcore3 but a newer verion has been installed on my Ubuntu.
Is there a way to instruct PHP imagick to use libmagickcore4?