Page 1 of 1

Compile error with latest imagemagick-6.3.9.0

Posted: 2008-02-24T14:05:35-07:00
by naoliv
Hi!

Could this be related with this change?

Code: Select all

2008-02-03  6.3.8-5 Cristy  <quetzlzacatenango@image...>
  * New Unix/Linux refactoring (should be transparent since changes are
    reflected in Magick-config and ImageMagick.pc pkg-config files):
      /usr/local/include => /usr/local/include/ImageMagick
      libMagick => libMagickCore
      libWand => libMagickWand
      Magick-config (deprecated) => MagickCore-config
      Wand-config (deprecated) => MagickWand-config
      Add Magick++-config, MagickCore.pc, MagickWand.pc, Magick++.pc
Error:

Code: Select all

(...)
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="" cc  -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared -L/usr/local/lib -L/usr/lib/X11 -lfreetype -lz Magick.o  -o blib/arch/auto/Image/Magick/Magick.so 	\
	   -L../magick/.libs -L/usr/lib -lMagick -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread  	\
	  
/usr/bin/ld: cannot find -lMagick
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/Image/Magick/Magick.so] Error 1
make[1]: Leaving directory `/tmp/buildd/imagemagick-6.3.9.0/PerlMagick'
make: *** [build-stamp] Error 2
Thank you!

Nelson

Re: Compile error with latest imagemagick-6.3.9.0

Posted: 2008-02-24T17:04:13-07:00
by magick
Try the following:
  • cd ImageMagick-6.3.9/PerlMagick
    perl Makefile.PL
    make

Re: Compile error with latest imagemagick-6.3.9.0

Posted: 2008-02-24T19:18:49-07:00
by naoliv
OK, I found what was wrong here. Thank you very much!

Nelson