
Thread
2012.12.09 02:49 "Re: [Tiff] libtiff not compiled on mountain lion Mac OS X 10.8.2", by Jingping Li
On Sat, Dec 8, 2012 at 8:36 PM, Olivier Paquet <olivier.paquet@gmail.com>wrote:
On Sat, Dec 8, 2012 at 5:31 PM, Jingping Li <jli4@uga.edu> wrote:
I have a Macbook with Mac OS X 10.8.2 (mountain lion) installed. When I tried to install tiff-4.0.3 I got the error below:
Undefined symbols for architecture x86_64:
"_edeflate", referenced from:
_PixarLogPostEncode in tif_pixarlog.o
_PixarLogEncode in tif_pixarlog.o
_ZIPPostEncode in tif_zip.o
_ZIPEncode in tif_zip.oLibtiff is now configured for i386-apple-darwin12.2.0
From the above, it looks like it might be compiling 64-bit object files and linking with 32-bit only libs (zlib in particular). Try adding -arch i386 to the compiler flags (CFLAGS variable usually) to get 32-bit code. Or if you want 64-bit, get a zlib compiled for 64-bit.
Update to the newest 64-bit zlib fixed the problem! Thank you!
Olivier