AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.07.13 15:47 "[Tiff] Unresolved symbol TIFFfree error", by Michael Sloan
2004.07.14 14:49 "Re: [Tiff] Unresolved symbol TIFFfree error", by Bob Friesenhahn

2004.07.13 15:47 "[Tiff] Unresolved symbol TIFFfree error", by Michael Sloan

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