Operating System - HP-UX
1832058 Members
3068 Online
110034 Solutions
New Discussion

mod_deflate - apache 2.0.54

 
Simon Glentworth
New Member

mod_deflate - apache 2.0.54

Hi,

I'm struggling to get mod_deflate to work with apache 2.0.54:

$ bin/apachectl -k start
/usr/lib/hpux64/dld.so: Unable to find library 'libz.sl'.
Syntax error on line 185 of /opt/hpws/apache/conf/httpd.conf:
Cannot load /opt/hpws/apache/modules/mod_deflate.so into server: No such file or directory

I figured I needed zlib since the problem is a missing 'libz.sl' so I installed it. The following files were installed.

/usr/local/lib/hpux32/libz.a
/usr/local/lib/hpux32/libz.so

The environment is HP-UX B.11.23 U ia64.

What am I doing wrong?

Does the 64 bit dynamic loader not load 32 bit libraries?
Do I need a library with an sl extension?

Thanks!
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: mod_deflate - apache 2.0.54

Hi Simon,

did you install the correct version ?

http://hpux.connect.org.uk/hppd/hpux/Misc/zlib-1.2.3/

HP-UX 11i v2 (HP-UX 11.23) Itanium 2

after the install, did you add the /usr/local/lib/hpux32 to your PATH?

Regards,
Robert-Jan
Simon Glentworth
New Member

Re: mod_deflate - apache 2.0.54

Thanks for the response.

I got the right version:

zlib-1.2.3-ia64-11.23.depot

I added the path to SHLIB_PATH in /opt/hpws/apache/conf/envvars

SHLIB_PATH="/opt/hpws/apache/lib:$SHLIB_PATH:/usr/local/lib:/usr/local/lib/hpux32"
export SHLIB_PATH

I added the path to my regular PATH but it's still giving the same error.

Simon Glentworth
New Member

Re: mod_deflate - apache 2.0.54

I meant /opt/hpws/apache/bin/envvars
Robert-Jan Goossens
Honored Contributor

Re: mod_deflate - apache 2.0.54

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSAP438

---
# mod_perl requires Perl v.5.8.0.
* For IPF, a 64-bit version of Perl 5.8.0 is required.

To download, go to HP Software Depot and search for Perl v.5.8.0, or directly, go here.

# mod_deflate requires zlib version 1.1.4. The HP-UX Porting Archive Center (http://hpux.cs.utah.edu) provides this library in source form and also HP-UX binaries.
---

is it a compatibilty problem...
ftp://ftp.thewrittenword.com/packages/by-name/zlib-1.1.4/hppa2.0-hp-hpux11.23/
Simon Glentworth
New Member

Re: mod_deflate - apache 2.0.54

Thanks again for the response. The 1.1.4 zlib from TWW didn't do it either. I even copied the libraries into Apache's lib directory because I'm pretty sure that the libraries in there are getting loaded.

Is there a command that can tell you if a library is 32/64 and PA/IA?

Is there a way to have dld output what path it's searching?