Image Magic Make Fails - PHP extension

Posted by Kyle Adams on Ask Ubuntu See other posts from Ask Ubuntu or by Kyle Adams
Published on 2012-12-14T17:00:48Z Indexed on 2012/12/14 17:18 UTC
Read the original article Hit count: 337

Filed under:
|

So I was doing the following:

sudo apt-get install php-pear php5-dev
sudo apt-get install imagemagick libmagickwand-dev
sudo pecl install imagick

It all works till I get the error:

make: *** [imagick_class.lo] Error 1
ERROR: `make' failed

Which according to blog posts and forms is because of libmagick9-dev, how ever when trying to install this I get:

 sudo apt-get install libmagick9-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmagick9-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  graphicsmagick-libmagick-dev-compat

E: Package 'libmagick9-dev' has no installation candidate

Thoughts?

© Ask Ubuntu or respective owner

Related posts about php

Related posts about imagemagick