TIFF and LibTiff Mail List Archive


2001.05.18 03:21 "libtiff on OSX?", by Ben Dubin-Thaler
2001.05.18 07:05 "Re: libtiff on OSX?", by Doug Holton
2001.05.18 12:45 "Re: libtiff on OSX?", by Frank Warmerdam
2001.05.18 13:41 "A small fix", by Martí Maria
2001.05.21 21:30 "Re: libtiff on OSX?", by Lars Helldorf

2001.05.18 07:05 "Re: libtiff on OSX?", by Doug Holton

i was wondering if anyone has gotten any version of libtiff to compile on Mac OSX which as far as I know is a version of BSD at the bottom. if so, could you enlighten me?

Hi, you can compile it for Carbon OSX apps with Codewarrior, or to compile the command line tools you can follow the instructions in the README file, with the exception that the configure script doesn't yet recognize Darwin. Those steps are laid out below, including at the bottom instructions for jpeglib and zlib if you want to install those before compiling libtiff.

Otherwise, an easier way to install this all which might or might not work is to use fink (fink install libtiff) from

From your

tar xvzf tiff-v3.5.6-beta.tar.gz
cd tiff-v3.5.6-beta/
cp /usr/libexec/config.guess. (note the period)
cp /usr/libexec/config.sub.

Then follow the instructions in README:

(edit the configure file to turn on jpeg and zip support if need be first, see below)

./configure (hit return when it asks you if install paths are okay)
sudo -s (prompted to enter password)
make install
(or "make install-private" (geotiff wants that))

There are also some tiff files for testing apparently:

tar xvzf v3.4pics.tar.gz
./ -f pics/*.tif

**Before installing libtiff, you may want to install jpeglib and zlib and edit the libtiff configure file to enable them. See

//Installing jpeg lib:
tar xzvf jpegsrc.v6b.tar.gz
cd jpeg-6b/
sudo -s
make install

//Installing zlib
tar xzvf zlib-1.1.3.tar.gz
cd zlib-1.1.3/
sudo -s
make install

//Now cd back into the libtiff directory
Edit configure ("pico configure") to say
# assuming you unzipped jpeg & zlib in your home directory:

After I finished installing libtiff I installed geotiff:

and ran ./configure --with-libtiff=~/tiff-v3.5.6-beta/libtiff/ but got a make error:

/usr/bin/ld: table of contents for archive: /usr/local/lib/libtiff.a is out of date; rerun ranlib(1) (can't load from it)