AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.12.08 22:31 "[Tiff] libtiff not compiled on mountain lion Mac OS X 10.8.2", by Jingping Li
2012.12.09 01:36 "Re: [Tiff] libtiff not compiled on mountain lion Mac OS X 10.8.2", by Olivier Paquet
2012.12.09 02:49 "Re: [Tiff] libtiff not compiled on mountain lion Mac OS X 10.8.2", by Jingping Li

2012.12.09 01:36 "Re: [Tiff] libtiff not compiled on mountain lion Mac OS X 10.8.2", by Olivier Paquet

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.o

Libtiff 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.

Olivier