2004.07.11 00:24 "[Tiff] CVS libtiff still doesn't build", by Bob Friesenhahn

I was hoping that libtiff CVS would contain the necessary fixes to be able to build reliably. Apparently I was wrong. When linking it still uses paths in the user-provided LDFLAGS when searching for the library it just built:

/bin/bash ../libtool --mode=link gcc-3.4.1  -O2 -g  -R/usr/local/lib
-L/usr/local/lib -R/usr/local/lib -o raw2tiff  raw2tiff.o -L../libtiff
-ltiff -L../port -lport -ljpeg -lz -lm -lc
gcc-3.4.1 -O2 -g -o raw2tiff raw2tiff.o  -L/usr/local/lib
-L/scratch/bfriesen/build/tiff-cvs/libtiff -ltiff
-L/scratch/bfriesen/build/tiff-cvs/port
/scratch/bfriesen/build/tiff-cvs/port/.libs/libport.a
/usr/local/lib/libjpeg.so -lz -lm -lc -R/usr/local/lib
-R/usr/local/lib
Undefined                       first referenced
  symbol                             in file
TIFFDataWidth                       raw2tiff.o
ld: fatal: Symbol referencing errors. No output written to raw2tiff

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