AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.07 22:16 "[Tiff] Problem decoding G4 FAX tiffs", by Jonathan Potter
2005.03.07 22:20 "Re: [Tiff] Problem decoding G4 FAX tiffs", by Bob Friesenhahn
2005.03.07 22:36 "Re: [Tiff] Problem decoding G4 FAX tiffs", by Frank Warmerdam
2005.03.07 01:28 "Re: [Tiff] Problem with libtiff.a", by Gregory Safford
2005.03.06 17:00 "[Tiff] Problem with libtiff.a", by Gregory Safford
2005.03.06 17:04 "Re: [Tiff] Problem with libtiff.a", by Bob Friesenhahn
2005.03.06 19:21 "Re: [Tiff] Problem with libtiff.a", by Frank Warmerdam
2005.03.07 22:51 "RE: [Tiff] Problem decoding G4 FAX tiffs", by Jonathan Potter

2005.03.07 01:28 "Re: [Tiff] Problem with libtiff.a", by Gregory Safford

As you suggested, in trying various things I had reduced the arguments I was using to the point that I was missing some needed libraries (JPEG, math, etc.). Returning to the original command as taken from the ImageMagick configure output but replacing the -ltiff argument with a fully qualified call to my local libtiff.a or libtiff.so resulted in successful compilation of my little test program.

Now if I can get ImageMagick's configure to use the local libtiff instead of /usr/local/libtiff.so, which complains about the lack of some c++ functions (which is why I was trying to circumvent it).

Thanks for your help.

Greg

----- Original Message -----
From: "Frank Warmerdam" <fwarmerdam@gmail.com>
To: "Gregory Safford" <gdsafford@mail.com>
Subject: Re: [Tiff] Problem with libtiff.a
Date: Sun, 6 Mar 2005 14:21:41 -0500

>
> On Sun, 06 Mar 2005 12:00:18 -0500, Gregory Safford
> <gdsafford@mail.com> wrote:
> > 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)"
>...
> > Can anyone suggest where I am going wrong?
>
> Greg,
>
> As Bob suggests, it looks like ImageMagick is wanting
> to link against a shared library version of libtiff that
> knows about what it depends on. In this case if you
> link against libtiff.a, you will also need to link against
> zlib, used for the deflate compression support. Adding -lz
> may be sufficient to address this.

--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm