Bug 411395 - Digikam git master doesn't build with Imagemagick 6.9
Summary: Digikam git master doesn't build with Imagemagick 6.9
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-Magick (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-28 17:40 UTC by maderios
Modified: 2020-05-03 11:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0
Sentry Crash Report:


Attachments
digikambuild-magick6.txt (217.02 KB, text/plain)
2019-08-28 17:40 UTC, maderios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maderios 2019-08-28 17:40:41 UTC
Created attachment 122405 [details]
digikambuild-magick6.txt

Can't build digikam git master with Imagemagick 6.9.10.62-1
(called 'libmagick6' in Archlinux)
Imagemagick 6 version here:
https://www.archlinux.org/packages/extra/x86_64/libmagick6/

Full compilation process in attachment 'digikambuild-magick6.txt'
Comment 1 Maik Qualmann 2019-08-28 18:36:43 UTC
Have you previously deleted and recreated your "build" directory?
The right libraries installed?

As you can see, digiKam still finds version 7.0.8.

-- Found ImageMagick: /usr/lib/libMagick++-6.Q16HDRI.so (found version "7.0.8-62") 
-- ImageMagick_FOUND:                  	TRUE
-- ImageMagick_VERSION_STRING:         	7.0.8-62

Maik
Comment 2 caulier.gilles 2019-08-28 19:54:52 UTC
This is not a compilation problem, but a linking problem with your IM shared libraries installed on your system.

Remember that current AppImage compile and link with IM 6.9 without problem. It also the case about Windows version...

Gilles Caulier
Comment 3 caulier.gilles 2019-08-28 19:56:15 UTC
It the same about MacOS package which use also IM 6.9.

Gilles Caulier
Comment 4 maderios 2019-08-28 20:32:48 UTC
It happens because there's a "confusion" between the two IM versions installed, 6 and 7.
I solved issue with this modification in PKBUILD script before CMAKE:
PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"