ImageMagick Library Name Change

Announcements pertaining to ImageMagick, or ImageMagick related software. This list is moderated. No discussions here, instead post to the users group instead.
Post Reply
User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

ImageMagick Library Name Change

Post by magick » 2013-02-25T03:43:10-07:00

There is a change in the ImageMagick library and header naming convention for Linux as of ImageMagick 6.8.3. The change was made to permit multiple versions, quantums, and HDRI / non-HDRI to coexist on the same system. Now MagickCore, MagickWand, and Magick++ are decorated with the version, quantum depth, and optionally HDRI of the build (e.g. libMagickCore-6.Q16.so, libMagickCore-7.Q16HDRI.so). The header files now reside in an include path that is decorated with the version (e.g. /usr/include/ImageMagick-6).

Developers can select quantums and / or HDRI with these compiler flags: MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE (e.g. -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16). If you already use the recommended *-config (e.g. MagickCore-config) and pkg-config (e.g. pkg-config MagickCore) scripts for ImageMagick development, your code should continue to build and execute without any problems.

Thanks to Bastien Roucaries for the initial jumbo patches to bootstrap these changes.

Snowman
Posts: 6
Joined: 2009-11-15T16:01:16-07:00
Authentication code: 8675309

Re: ImageMagick Library Name Change

Post by Snowman » 2013-03-01T21:31:46-07:00

The pkgconfig files don't point to the correct headers directory. The include dir is set to /include/ImageMagick-6 in the pkgconfig files but the headers are being installed in /usr/include/ImageMagick-6.8

This is with ImageMagick-6.8.3-6. Let me know if you need more information.

broucaries
Posts: 470
Joined: 2008-12-21T11:51:10-07:00

Re: ImageMagick Library Name Change

Post by broucaries » 2013-03-04T10:16:07-07:00

Whereas I understand to decorate the path with imagemagick major version, decorating with minor version is really a pain for distribution (it took between one or two month on the debian side to do transition)

Could you please only decorate with major version.

Post Reply