Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx016.isp.belgacom.be (inmx016.isp.belgacom.be [195.238.2.219])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j26H0qon018549
        for <joris.at.lebbeke@skynet.be>; Sun, 6 Mar 2005 18:00:52 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j26H0c1I027862
        for <joris.at.lebbeke@skynet.be>; Sun, 6 Mar 2005 18:00:41 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id B602510F9979; Sun,  6 Mar 2005 12:00:22 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from webmail-outgoing.us4.outblaze.com
	(webmail-outgoing.us4.outblaze.com [205.158.62.67])
	by xserve.flids.com (Postfix) with ESMTP id 7DC6710F9965
	for <tiff@remotesensing.org>; Sun,  6 Mar 2005 12:00:20 -0500 (EST)
Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com
	[205.158.62.180])
	by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id
	498591800134
	for <tiff@remotesensing.org>; Sun,  6 Mar 2005 17:00:19 +0000 (GMT)
X-OB-Received: from unknown (205.158.62.81)
	by wfilter.us4.outblaze.com; 6 Mar 2005 17:00:19 -0000
Received: by ws1-2.us4.outblaze.com (Postfix, from userid 1001)
	id 2CEA81F50B1; Sun,  6 Mar 2005 17:00:19 +0000 (GMT)
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received: from [64.69.101.10] by ws1-2.us4.outblaze.com with http for
	gdsafford@mail.com; Sun, 06 Mar 2005 12:00:18 -0500
From: "Gregory Safford" <gdsafford@mail.com>
To: tiff@remotesensing.org
Date: Sun, 06 Mar 2005 12:00:18 -0500
X-Originating-Ip: 64.69.101.10
X-Originating-Server: ws1-2.us4.outblaze.com
Message-Id: <20050306170019.2CEA81F50B1@ws1-2.us4.outblaze.com>
Subject: [Tiff] Problem with libtiff.a
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 1fcda79a4389533f93865dcadb9e831c

I am trying (and failing) to get libtiff to work with ImageMagick. I have c=
ompiled 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 config=
ure'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}/l=
ibtiff.so

but

gcc -o conftest -g -Wall -L${LDFLAGS} -R${LDFLAGS} conftest.c ${USERLIB}/li=
btiff.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 =3D /export/home/sfd0/lib/tiff/lib:/export/home/sfd0/lib/jpeg/lib:/=
export/home/sfd0/lib:/usr/local/lib

TIFFLIB =3D ${HOME}/lib/tiff/lib
JPEGLIB =3D ${HOME}/lib/jpeg/lib
USERLIB =3D /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



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

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
