Thursday, July 28, 2011

configure: error: not found. Please provide a path to MagickWand-config or Wand-config program

Usually this error occurs if there is no ImageMagick library available in the server. As a result, you will also be not able to install imagick support for php in the server. You can follow the below shown steps to counter this error.


1. cd /usr/local/src
2. Get the complete imagemagick library. You can get it from http://www.imagemagick.org/script/download.php
ex: wget ftp://mirror.aarnet.edu.au/pub/imagemagick/ImageMagick-6.6.7-10.tar.gz
3. tar -xvzf ImageMagick-6.6.7-10.tar.gz (or the version/distro you downloaded).
4. cd ImageMagick-6.6.7-10 (or the version/distro you downloaded).
5. ./configure
6. make
7. make install

And you are done! You can now install imagick or whatever app that needs this library without any error. Enjoy :)

1 comment: