2001.10.15 18:28 "undefined symoble _TIFFmalloc", by Ziying Sherwin

2001.10.15 18:28 "undefined symoble _TIFFmalloc", by Ziying Sherwin

I am trying to compile a package which uses imlib and libtiff on Solaris 2.8 using gcc 3.0, and I kept getting the following error message:

Undefined                       first referenced
 symbol                             in file
_TIFFmalloc                         /depot/package/imlib_1.9.10/vendor/lib/libImlib.so
_TIFFfree                           /depot/package/imlib_1.9.10/vendor/lib/libImlib.so
TIFFDefaultStripSize                /depot/package/imlib_1.9.10/vendor/lib/libImlib.so
ld: fatal: Symbol referencing errors. No output written to xcdroast
collect2: ld returned 1 exit status
*** Error code 1

I installed libtiff 3.5.5 and imlib 1.9.10 following the instruction. And the environmental variable LD_LIBRARY_PATH is set to include the path to both libraries.

The only observation I have is that all three symbols are defined as "extern" in the header file. Does anyone have any ideas what I should do to get rid of the error message?

Thanks.

Ziying Sherwin