November 22nd, 2003

Issues w/ ImageMagick

Hey, I'm not sure if this community is still active or not. But I like this FotoBuilder project and would really like to set up a server with it. However, I can't seem to get Image::Magick installed via tarball (I've already tried CPAN and I recieve the same result). I'm getting the below error message:

[justgags@Cerebellum PerlMagick-5.57]$ perl Makefile.PL
WARNING: LDFLAGS is not a known parameter.
Note (probably harmless): No library found for -llcms
Note (probably harmless): No library found for -lexif
Writing Makefile for Image::Magick
[justgags@Cerebellum PerlMagick-5.57]$ make
gcc -c -I../ -I.. -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"5.5.7\" -DXS_VERSION=\"5.5.7\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_CONFIG_H Magick.c
Running Mkbootstrap for Image::Magick ()
chmod 644
rm -f blib/arch/auto/Image/Magick/
LD_RUN_PATH="/usr/local/lib:/usr/lib:/usr/X11R6/lib" gcc -L/usr/local/lib -shared -L/usr/local/lib Magick.o -o blib/arch/auto/Image/Magick/ -L/usr/local/lib -lMagick -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -lfreetype -lXext -lSM -lICE -lX11 -lbz2 -lz -lpthread -lm
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Image/Magick/] Error 1
[justgags@Cerebellum PerlMagick-5.57]$

Any ideas?

I have Perl 5.8.0 running on RedHat Linux 9.