2010.08.19 20:33 "[Tiff] libtiff on MAC 10.6", by Rajat Varma

2010.08.23 19:38 "Re: [Tiff] libtiff on MAC 10.6", by Chris Cox

You do realize that Apple already ships libTIFF installed on MacOS, right?

Chris

________________________________________

From: tiff-bounces@lists.maptools.org [tiff-bounces@lists.maptools.org] On Behalf Of Scott Ribe [scott_ribe@killerbytes.com]

On Aug 19, 2010, at 2:33 PM, Rajat Varma wrote:

We are interested in implementing some of our c programs on MAC OS 10.6. We installed X code 3.2.1 and then from terminal we installed the tiff libraries by saying sudo port install tiff. After it finished the installation we can find the libraries under /opt/local/include, but when executing our c program it has trouble finding tiffio.h. So then we copied all the tiff associated .h files to /usr/include and now we are having an error message -ltiff library not found. Does anyone have a fix for this?

Don't use an end-user tool like MacPorts. Get the tiff sources, and deal with configuring them--whether you prefer building them in directly, or building a library and then linking to it.