AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.03.06 17:00 "Problem with libtiff.a", by Gregory Safford
2005.03.06 17:04 "Re: Problem with libtiff.a", by Bob Friesenhahn
2005.03.06 19:21 "Re: Problem with libtiff.a", by Frank Warmerdam
2005.03.07 01:28 "Re: Problem with libtiff.a", by Gregory Safford

2005.03.06 17:00 "Problem with libtiff.a", by Gregory Safford

I am trying (and failing) to get libtiff to work with ImageMagick. I have
compiled libtif (v 3.7.1) separately, and the commandline utilities seem to
work, but ImageMagick's configure fails to approve of the installation. In
the course of working on this, I tried to compile one of ImageMagick
configure's test programs myself.  The trivial program

char TIFFOpen ();
int
main ()
{
TIFFOpen ();
  ;
  return 0;
}


compiles if I compile

 gcc -o conftest -g -Wall -L${LDFLAGS} -R${LDFLAGS} conftest.c
 ${USERLIB}/libtiff.so

but

gcc -o conftest -g -Wall -L${LDFLAGS} -R${LDFLAGS} conftest.c
${USERLIB}/libtiff.a

fails on a bunch of undefined symbols, as

"inflate                            
/export/home/sfd0/lib/tiff/lib/libtiff.a(tif_pixarlog.o)"

where the makefile defines:

LDFLAGS =
/export/home/sfd0/lib/tiff/lib:/export/home/sfd0/lib/jpeg/lib:/export/home/sfd0/lib:/usr/local/lib

TIFFLIB = ${HOME}/lib/tiff/lib
JPEGLIB = ${HOME}/lib/jpeg/lib
USERLIB = /usr/local/lib

where tiff is the installation prefix for my libtiff compilation.

Can anyone suggest where I am going wrong?

Any information appreciated.

Thanks in advance.

Greg