Page 1 of 1

Problem with compiling PerlMagick.

Posted: 2012-12-20T11:50:29-07:00
by lleche
I am trying to compile PerlMagick from ImageMagick version 6.8.1.0, on MacOSX 10.7.5.
The corresponding ImageMagick version is installed via MacPorts, without much issues. 'convert -version' command seems to report a successfull installation.
But lines 165, 167 and 168 of Makefile.PL file in PerlMagick directory requires -lMagickCore-Q16 library, which is not in the installed ImageMagick libraries.
No clue how I can overcome this issue.
Any advice?

Regards.

Landry

Re: Problem with compiling PerlMagick.

Posted: 2012-12-20T12:22:18-07:00
by magick
Edit Makefile.PL and try -lMagickCore rather than -lMagickCore-Q16. The decoration of the libraries have changed recently to support multiple quantum depths of ImageMagick in the same directory structure (e.g. libMagickCore-Q16, libMagickCore-Q16HDRI, etc.).

Re: Problem with compiling PerlMagick.

Posted: 2012-12-20T22:57:42-07:00
by lleche
Thanks. The lib directory contains libMagickCore-Q16HDRI, I edited the lines accordingly and this worked perfectly.