2004.06.06 22:26 "[Tiff] [ANNOUNCE]: Libtiff 3.6.1 released", by Andrey Kiselev

2004.06.06 22:46 "[Tiff] Re: tiff-3.7.0alpha", by Bob Friesenhahn

I see this problem under FreeBSD:

/usr/local/bin/bash ../libtool --mode=link /usr/local/bin/gcc-3.4.0  -O2 -Wall -march=i686 -pipe  -L/usr/local/lib -R/usr/local/lib -R/usr/X11R6/lib -o tiffset  tiffset.o -L../libtiff -ltiff -L../port -lport -ljpeg -lz -lm -lc
/usr/local/bin/gcc-3.4.0 -O2 -Wall -march=i686 -pipe -o tiffset tiffset.o  -L/usr/local/lib -L/home/bfriesen/src/graphics/tiff-3.7.0alpha/libtiff -ltiff -L/home/bfriesen/src/graphics/tiff-3.7.0alpha/port /home/bfriesen/src/graphics/tiff-3.7.0alpha/port/.libs/libport.a -ljpeg -lz -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
tiffset.o: In function `GetField':
tiffset.o(.text+0x98): undefined reference to `TIFFFieldWithName'
collect2: ld returned 1 exit status
gmake[1]: *** [tiffset] Error 1

Note that LDFLAGS='-L/usr/local/lib -R/usr/local/lib' was applied while configuring since that is where my libjpeg and zlib live.

It is a big no-no to allow the linker to search outside of the build directory first.

It seems that the include search path is ok, but it is always good to double-check.

Bob

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen