httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: [PATCH] mod_deflate with a static libz
Date Thu, 17 Oct 2002 14:23:06 GMT
"William A. Rowe, Jr." <> writes:

> The follow patch will allow binds to a static zlib, but it's not entirely portable.

This isn't what you were going for exactly, but it works for me on
HP-UX, Linux, AIX, and Solaris:

  apxs -c mod_deflate.c zlib1.c zlib2.c zlib3.c etc.

(replace zlib*.c with the proper zlib source filenames)

Another little note:

A user of my mod_deflate build encountered a problem loading
mod_deflate alongside another module loaded another library which also
had a symbol called crc32 and the wrong one was used.  So to my apxs
command I add


(I should probably change that to zlib_crc32.)

It would be smart to identify other potential conflicts, or add
support to zlib for reasonable namespace protection.

Jeff Trawick |
Born in Roswell... married an alien...

View raw message