PHP 4.4.0 Compile cannot find Wand

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
watson

Post by watson » 2005-08-16T11:28:01-07:00

Try putting the following lines in your user startup file.
Change "/path/to/imagemagick" to your ImageMagick path, in your case
MY_IM_PATH="/opt/ImageMagick-6.2.4"
Note the 6.2.4 ImageMagick upgrade :wink:

Try adding these lines to your user startup file:
MY_IM_PATH="/path/to/imagemagick"

MY_IM_LIB="${MY_IM_PATH}/lib"
MY_IM_INC="${MY_IM_PATH}/include"

LD_LIBRARY_PATH="${MY_IM_LIB}:${LD_LIBRARY_PATH}"
LD_RUN_PATH="${MY_IM_LIB}:${LD_RUN_PATH}"
LIBRARY_PATH="${MY_IM_LIB}:${LIBRARY_PATH}"

CFLAGS="\
\
-isystem ${MY_IM_INC} -I${MY_IM_INC} \
\
-L${MY_IM_LIB}"

CPPFLAGS="${CFLAGS}"

LDFLAGS="-Wl,-L,${MY_IM_LIB} -Wl,--rpath -Wl,${MY_IM_LIB}"

export LD_LIBRARY_PATH LD_RUN_PATH LIBRARY_PATH CFLAGS CPPFLAGS

Then try the compiling the new MagickWand For PHP 0.1.6 distribution, (available here: ftp://ftp.imagemagick.org/pub/ImageMagick/php/) and please post if you have that problem again.

Post Reply