Wand.pc package configuration file

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
bed
Posts: 2
Joined: 2013-04-01T17:05:31-07:00
Authentication code: 6789

Wand.pc package configuration file

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

Re: Wand.pc package configuration file

Post 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.
bed
Posts: 2
Joined: 2013-04-01T17:05:31-07:00
Authentication code: 6789

Re: Wand.pc package configuration file

Post by bed »

Thanks for the very quick check and reply.

Cheers,
Brian
Post Reply