Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx016.isp.belgacom.be (inmx016.isp.belgacom.be [195.238.2.219])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i6EEnrbG002859
        for <joris.at.lebbeke@skynet.be>; Wed, 14 Jul 2004 16:49:53 +0200
        (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 i6EEnldZ027114
        for <joris.at.lebbeke@skynet.be>; Wed, 14 Jul 2004 16:49:49 +0200
        (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 EF34012C8B2; Wed, 14 Jul 2004 10:49:30 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by xserve.flids.com (Postfix) with ESMTP id D01FD12C88F
	for <tiff@remotesensing.org>; Wed, 14 Jul 2004 10:49:28 -0400 (EDT)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	i6EEnJ9p003599; Wed, 14 Jul 2004 09:49:19 -0500 (CDT)
Date: Wed, 14 Jul 2004 09:49:19 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Michael Sloan <sloan@caps.fsu.edu>
Subject: Re: [Tiff] Unresolved symbol TIFFfree error
In-Reply-To: <6.0.0.22.2.20040713113056.01aee2b0@mail.caps.fsu.edu>
Message-ID: <Pine.SOC.4.60.0407140947330.5569@blade.simplesystems.org>
References: <6.0.0.22.2.20040713113056.01aee2b0@mail.caps.fsu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@remotesensing.org
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: 3db32ef7645338f609715ff3b53fc1d2

Solaris includes a very old version of libtiff in /usr/openwin/lib. 
You need to make sure that your newer version of libtiff is used 
rather than Solaris's old version.  You can use -R and -L options to 
influence which library is used.  Make sure that you build libtiff 
with shared libraries.

Bob

On Tue, 13 Jul 2004, Michael Sloan wrote:

> Hello -
>
> This is not exactly a libtiff issue, as it seems to be specific to Solaris 
> from all the searches I've done, but I have the following problem compiling 
> espgs-7.07.1 - ghostscript with a ps-to-raster driver.
>
> I have Solaris 2.9 on sparc, libtiff (v. 3.6.1) installed in /usr/local, and 
> the following environment variables set:
>
> CPPFLAGS=-I/usr/local/include
> LDFLAGS=-L/usr/local/lib
> LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib
>
> The exact error message:
>
> ./obj/echogs -a ./obj/ldt.tr -s - -R/usr/lib -lcupsimage -ltiff -ljpeg -lpng 
> -lm -lz -lcups -lsocket -lnsl -lm  -lm
> if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
> XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
> FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
> DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
> DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
> DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
> DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
> /bin/sh <./obj/ldt.tr
> Undefined                       first referenced
> symbol                             in file
> _TIFFmalloc                         /usr/lib/libcupsimage.so
> _TIFFfree                           /usr/lib/libcupsimage.so
> ld: fatal: Symbol referencing errors. No output written to ./bin/gs
> collect2: ld returned 1 exit status
> make: *** [bin/gs] Error 1
>
> Any help or suggestions on this problem would be greatly appreciated.
>
> Michael Sloan
> Systems Administrator
> FSU Center for Advanced Power Systems
> sloan@caps.fsu.edu
>
> _______________________________________________
> Tiff mailing list
> Tiff@remotesensing.org
> http://xserve.flids.com/mailman/listinfo/tiff
>

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
