Page 1 of 1

MAGICK_CONFIGURE_PATH Issue

Posted: 2006-05-03T08:49:14-07:00
by elisegev
I have an installation of ImageMagick in /opt/ctp/ImageMagick-6.2.4. The setting are:

MAGICK_HOME=/opt/ctp/ImageMagick-6.2.4
PATH=$PATH:$MAGICK _HOME/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MAGICK _HOME/lib

Yet, I get the following error:

convert: UnableToOpenConfigureFile `delegates.xml'.

If I add the following setting:

MAGICK_CONFIGURE_PATH=$MAGICK_HOME/lib/ImageMagick-6.2.4/config

The problem goes away.

Following the instructions in http://www.imagemagick.org/script/resources.php, I don’t need specify MAGICK_CONFIGURE_PATH. Since, ImageMagick should look for delegate.xml in $MAGICK_HOME/lib/ImageMagick-6.2.4/config. But, it does not do it. Why?

Posted: 2006-05-03T10:46:04-07:00
by magick
Add -debug configure to determine where ImageMagick is looking for its configuration files. You probably have an uninstalled version of ImageMagick which has a slightly different order it uses to find its configuration files.