>   I've just been trying to compile some code that makes use of Zlib and 
> when I try to compile it from within Lazarus I get the following error
> 
> Error: Import library not found for libz
> 
> at the linking stage. It's the only thing stopping it from linking.
> 
> Is this a bug in FPC 2.2.1 or am I missing the libz.o file?
> 
> I'm using the snapshot from 27th of Jan 2008, if that makes any difference.

The zlib unit simply links to the zlib library  (libz.so libz.dll). It seems
that you are missing that one. IOW it is different from the borland one that 
does have a zlib implementation

The paszlib package provides an compatible (though older) zlib
implementation in pascal.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to