'make' error on Mac 10.7.4

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
neemo4321
Posts: 2
Joined: 2013-04-21T20:08:05-07:00
Authentication code: 6789

'make' error on Mac 10.7.4

Post by neemo4321 »

I followed the instructions on this link http://www.imagemagick.org/script/install-source.php to try to install ImageMagick on my mac. Everything works ok until the make step, where i see an error like this :

Undefined symbols for architecture x86_64:
"_png_set_check_for_invalid_index", referenced from:
_WriteOnePNGImage in magick_libMagickCore_6_Q16_la-png.o
_ReadOnePNGImage in magick_libMagickCore_6_Q16_la-png.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [magick/libMagickCore-6.Q16.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I tried disabling openCL and making without fpx, but both those dint work!

Anyone with a solution for this? It would be of great help!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 'make' error on Mac 10.7.4

Post by fmw42 »

Looks to me like something about PNG. Do you have libpng installed and where IM can find it?

Why are you trying to install such an old version?

Have you tried installing via MacPorts?
neemo4321
Posts: 2
Joined: 2013-04-21T20:08:05-07:00
Authentication code: 6789

Re: 'make' error on Mac 10.7.4

Post by neemo4321 »

I did check for libpng and i seem to have it installed.
How do i know if IM can find libpng though?

I initially tried a macport install of ImageMagick, that dint work either.

Any idea how i can get a newer version of ImageMagick?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 'make' error on Mac 10.7.4

Post by fmw42 »

It it is not where IM is being installed, then IM will not know about it.

The way I do it on my Mac OSX Snow Leopard, is to install all the delegates I want using MacPorts and then install IM manually from source with a ./configure set up to point to where MacPorts installs at /opt/local/...

see

viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202

You can get the latest source code at
http://www.imagemagick.org/download/

See also
http://www.imagemagick.org/script/insta ... e.php#unix
http://www.imagemagick.org/script/advan ... lation.php

If you want to install from binary, you must have the latest Mac OSX (mountain lion) and can get the binary install at http://www.imagemagick.org/script/binar ... php#macosx
Post Reply