[Mod_gzip] mod_gzip & apache 2 - please help!! urgent!

Michael Jakscht mod_gzip@lists.over.net
Thu, 31 Oct 2002 16:49:29 +0100



Hi Michael,


> so you now have the version that has been adapted to
> the Apache API you are using. Fine.

good, eh? Perfect ;-)

> > Syntax error on line 269 of /opt/apache2/conf/httpd.conf:
> > Cannot load /opt/apache2/modules/mod_gzip.so into server:
> > /opt/apache2/modules/mod_gzip.so: undefined symbol: deflate

> Despite of its version number, mod_gzip 2.0 is a much
> _older_ product than mod_gzip 1.3 and not able to run
> without foreign dependencies.

What dependencies?

> It does not contain its own gzip routines (like mod_gzip
> 1.3), but relies upon the operating system to have the
> standard "zlib" library already installed (which is
> quite common for Linux servers but obviously missing
> on your machine).

Obviously I have version 1.1.3 installed of libz.so,
I downloaded version 1.1.4 from http://www.gzip.org/zlib
and compiled and installed it in /lib

Tried to start the Apache again... same procedure as every year, james...

Linked the libz.so from the /opt/apache2/modules directory
with no success...


> The "deflate" symbol is a reference to a function inside
> this "zlib" code.

Okay I think I understand. And as I have a SuSE 7.3 system here,
where zlib was installed I think.
Maybe a path is missing or sth. like that??


> So the solution is: Get yourself a "zlib" library, and
> install it on your machine.

No prob - I tried to... ;-)

> If done properly, the reference to it from mod_gzip 2.0
> will be successfully resolved at Apache load time.

Okay I would be be very very pleased if you could tell me
where this stuff should be placed in order apache (mod_gzip) finds it.

> You need not recompile mod_gzip - just give to it what
> it asks you for.

Oh no prob I really would love to do it ;-)
But I need your assistance.

Michael