AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.03.10 10:25 "[Tiff] Compiling under OS X with ZIP_SUPPORT", by Peter
2004.03.10 11:15 "Re: [Tiff] Compiling under OS X with ZIP_SUPPORT", by Thomas J. Kacvinsky
2004.03.10 14:23 "Re: [Tiff] Compiling under OS X with ZIP_SUPPORT", by Frank Warmerdam
2004.03.11 02:34 "Re: [Tiff] Compiling under OS X with ZIP_SUPPORT", by Peter

2004.03.10 10:25 "[Tiff] Compiling under OS X with ZIP_SUPPORT", by Peter

Hello,

I am trying to compile libtiff version 3.6.1 with ZIP_SUPPORT with latest OS X dev. tools (xcode 1.1) + OS 10.3.2, but it fail in the end. Here is the last part of the compile message,

/usr/bin/gcc -dynamiclib -undefined error \
   -install_name libtiff.dylib \
   -o libtiff.3.6.1.dylib tif_aux.o tif_close.o tif_codec.o

tif_compress.o tif_color.o tif_dir.o tif_dirinfo.o tif_dirread.o tif_dirwrite.o tif_dumpmode.o tif_error.o tif_extension.o tif_fax3.o

tif_fax3sm.o tif_getimage.o tif_jpeg.o tif_flush.o tif_luv.o tif_lzw.o tif_next.o tif_ojpeg.o tif_open.o tif_packbits.o tif_pixarlog.o

tif_predict.o tif_print.o tif_read.o tif_swab.o tif_strip.o tif_thunder.o tif_tile.o tif_unix.o tif_version.o tif_warning.o

tif_write.o tif_zip.o \

/usr/bin/libtool: internal link edit command failed
ld: Undefined symbols:
_deflate
_deflateEnd
_deflateInit_
_deflateParams
_deflateReset
_inflate
_inflateEnd
_inflateInit_
_inflateReset
_inflateSync
make[1]: *** [DARWINdso] Error 1
make: *** [all] Error 2

I know this missing functions belongs to zib library and available as frameworks such as /usr/lib/libz.1.1.3.dylib. How do I modify the make file to link with the zip framework?

Thanks in advance.

K.K.Chan