cURL / Mailing Lists / curl-users / Single Mail


Re: zlib & win32

From: Daniel Stenberg <>
Date: Thu, 30 Jan 2003 16:00:09 +0100 (CET)

On Thu, 30 Jan 2003, Roth, Kevin P. wrote:

> I can confirm that Daniel's patch fixes the problem. Thanks!

Goodie. That fix has been committed.

> On a related note - I can't seem to get zlib to show up with the Win32
> native build. I adjusted the Makefile.m32's as listed in the patches below,
> and still can't quite seem to get it working. I downloaded
> pre-built from
> It compiles
> and links without error (including -lz and -DHAVE_ZLIB_H) but curl -V
> doesn't list zlib...

You need to set both HAVE_ZLIB_H *and* HAVE_ZLIB, and the latter happens to
be what controls if it appears in the curl -V output (more specificly the
lib/version.c source file). Yes, it seems unnecessary to depend on two
defines for this, so a future version may sort this out differently.

> (by the way - could someone place a link to the win32 build of zlib on the
> downloads page? Could someone also upload an openssl-0.9.x-dev package for
> win32?)

Well, you have CVS write access... ;-)

(I'll do this now, I'm just trying to encourage others to help out with tasks
like this.)

 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
Received on 2003-01-30