Page 1 of 1

Can't build due to undefined references to MagickMax and MagickMin

Posted: 2018-08-17T00:56:15-07:00
by buildproblems
I'm using Ubuntu 18.04 and downloaded ImageMagick 7 from Github today, but can't get it to build. Here's links to the output of configure and make (both commands ran without any extra arguments):

./configure: https://pastebin.com/Q01ksLkc
make: https://pastebin.com/uEnvi57P

As you can see, make fails with the following error when it begins building the utilities:

Code: Select all

  CC       utilities/magick.o
  CCLD     utilities/magick
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `MagickMax'
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `MagickMin'
collect2: error: ld returned 1 exit status
Makefile:7043: recipe for target 'utilities/magick' failed
Why does it fail, and how can I build the utilities successfully?

Re: Can't build due to undefined references to MagickMax and MagickMin

Posted: 2018-08-17T03:14:30-07:00
by magick
Try now.

Re: Can't build due to undefined references to MagickMax and MagickMin

Posted: 2018-08-20T00:31:43-07:00
by buildproblems
Works like a charm. Thanks!