Page 1 of 1

Wand.pc package configuration file

Posted: 2013-04-01T17:20:00-07:00
by bed
Hi all,

I could be way off here, so I don't want to post to bugs -- but I've been having an issue linking with the MagickWand library, version 6.8.4.

The issue seems to that the pkg configuration file -- Wand.pc is actually giving a library name as libMagicCore-xx instead of libMagickWand-xx.

Looking at the sources for 6.8.5, I see that there are two pkg congfig files in ImageMagick-6.8.4-5/wand -- MagickWand.pc.in and Wand.pc.in. MagickWand.pc.in refers to the MagicWand library, while Wand.pc.in refers to the MagickCore library.

Is this correct? I have been able to fix my compile/link problems by modifying my system's Wand.pc file to refer to MagicWand library but don't know if the Makefile for the program to compile should be using MagickWand.pc or Wand.pc should be pointing to the MagickWand library.

Is this an issue with Wand.pc or a miss use of that file?

Thanks!
Brian

Re: Wand.pc package configuration file

Posted: 2013-04-01T18:02:09-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.4-7 Beta available by sometime tomorrow. In the mean-time use the MagickWand package which returns MagickWand as the library name.

Re: Wand.pc package configuration file

Posted: 2013-04-01T20:21:35-07:00
by bed
Thanks for the very quick check and reply.

Cheers,
Brian