Compile error with latest imagemagick-6.3.9.0

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Compile error with latest imagemagick-6.3.9.0

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

Re: Compile error with latest imagemagick-6.3.9.0

Post by magick »

Try the following:
  • cd ImageMagick-6.3.9/PerlMagick
    perl Makefile.PL
    make
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Re: Compile error with latest imagemagick-6.3.9.0

Post by naoliv »

OK, I found what was wrong here. Thank you very much!

Nelson
Post Reply