AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.03.10 10:25 "Compiling under OS X with ZIP_SUPPORT", by <infisys@po.jaring.my>
2004.03.10 11:15 "Re: Compiling under OS X with ZIP_SUPPORT", by Thomas J Kacvinsky
2004.03.10 14:23 "Re: Compiling under OS X with ZIP_SUPPORT", by Frank Warmerdam
2004.03.11 02:34 "Re: Compiling under OS X with ZIP_SUPPORT", by <infisys@po.jaring.my>

2004.03.11 02:34 "Re: Compiling under OS X with ZIP_SUPPORT", by <infisys@po.jaring.my>

> But the "proper" way of turning on zip support is to enable it in  
> config.site by uncommenting the ZIP="yes" line.  This sets things 
> up so the configure can try to include the supporting library.

I was editing tiffconf.h for ZIP_SUPPORT. Editing config.site for Zip  
support is the correct way as you mention. BTW by enabling Zip support,  
it enable PIXARLOG_SUPPORT as well.  After I redo a new "configure" &  
ranlib, it all compiles smoothly for the libtiff. However when I  
compile my project (linking with libtiff.a ), the linker (on the Xcode)  
gives this error message,

ld: /Users/peter/Project-Test/TestTIFF/libtiff.a(tif_pixarlog.o)  
illegal reference to symbol: _inflateEnd defined in indirectly  
referenced dynamic library /usr/lib/libz.1.dylib

Somehow the linker is not happy to link with static library which have  
connections to a dynamic library. At the moment, I am doing the hard  
way by compiling and linking another copy of static zlib library to  
make the linker "happy". Naturally it works, however by doing this also  
making the executable bulkier.

Is there a work around for this problem (by linking with dynamic  
library /usr/lib/libz.1.dylib (zlib)) ?

Best Regards,

Peter.