With graphics/ImageMagick6 installed: $ pkg-config --libs MagickCore -L/usr/local/lib -lMagickCore-6 $ pkg-config --libs ImageMagick -L/usr/local/lib -lMagickCore-6 With graphics/ImageMagick7 installed: $ pkg-config --libs MagickCore -L/usr/local/lib -lMagickCore-7 $ pkg-config --libs ImageMagick -L/usr/local/lib -lMagickCore-7.Q16HDRI Why MagickCore-7.Q16HDRI? For example this break build of ruby gem rmagick: can't find library -lMagickCore-7.Q16HDRI.
Created attachment 213568 [details] Fixed shared library name in ImageMagick.pc With this patch: > $ pkg-config --libs ImageMagick > -L/usr/local/lib -lMagickCore-7 And "gem install rmagick" install without errors.
A commit references this bug: Author: kwm Date: Sun Apr 19 17:51:06 UTC 2020 New revision: 532139 URL: https://svnweb.freebsd.org/changeset/ports/532139 Log: Update ImageMagick6 to 6.9.11-6 - Fix library name in bin/Magick*-config scripts. [1] PR: 245557 [1] Reported by: VVD (vvd@unislabs.com) [1] Changes: head/graphics/ImageMagick6/Makefile head/graphics/ImageMagick6/distinfo
A commit references this bug: Author: kwm Date: Sun Apr 19 17:51:35 UTC 2020 New revision: 532140 URL: https://svnweb.freebsd.org/changeset/ports/532140 Log: Update ImageMagick7 to 7.0.10-6 - Fix library name in bin/Magick*-config scripts. [1] - Reduce nox11 diff with the Imagemagick 6 version. PR: 245557 [1], 244275 [2] Reported by: VVD (vvd@unislabs.com) [1] nork@ninth-nine.com [2] Changes: head/graphics/ImageMagick7/Makefile head/graphics/ImageMagick7/distinfo head/graphics/ImageMagick7/pkg-plist