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
Problem with compiling PerlMagick.
Re: Problem with compiling PerlMagick.
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.
Thanks. The lib directory contains libMagickCore-Q16HDRI, I edited the lines accordingly and this worked perfectly.