To install Imagick, you would normally do this via PECL.
sudo pecl install imagick
However, when trying this on Ubuntu 12.04 LTS, you may get an error similar to the following.
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program
You can resolve this by installing a few extra packages.
sudo apt-get install libmagickwand-dev libmagickcore-dev
Now try re-running the original command and it should be successful.
Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.
Tags: imagemagick, imagick, linux, pecl, PHP, Ubuntu
This entry was posted on Sunday, February 10th, 2013 at 10:35 am and is filed under Programming, Tech. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.