MAGICK_CONFIGURE_PATH Issue

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
elisegev
Posts: 50
Joined: 2005-09-28T07:47:13-07:00
Contact:

MAGICK_CONFIGURE_PATH Issue

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post 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.
Post Reply