On Fri, Jan 04, 2002 at 07:38:02PM -0500, Jeff Trawick wrote:
> On my Solaris systems (Solaris 8 for i86 and Sparc), configure finds
> /usr/local/lib/libz.a and /usr/local/include/whatever, but
> mod_deflate.so won't load because of an unresolved reference to
> deflateInit2_.
>
> checking whether to enable mod_deflate... checking dependencies
> checking for zlib location... /usr/local
> adding "-I/usr/local/include" to INCLUDES
> setting LDFLAGS to "-L/usr/local/lib"
> adding "-R/lib" to LDFLAGS
^^^^ this is wrong
Patch below. Looks like a typo.
--
albert chin ([EMAIL PROTECTED])
-- snip snip
Index: modules/experimental/config.m4
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/experimental/config.m4,v
retrieving revision 1.18
diff -u -3 -p -r1.18 config.m4
--- modules/experimental/config.m4 14 Dec 2001 02:48:23 -0000 1.18
+++ modules/experimental/config.m4 6 Jan 2002 00:36:40 -0000
@@ -59,7 +59,7 @@ APACHE_MODULE(deflate, Deflate transfer
CPPFLAGS="$CPPFLAGS -I${ap_zlib_base}/include"
APR_ADDTO(LDFLAGS, [-L${ap_zlib_base}/lib])
if test "x$ap_platform_runtime_link_flag" != "x"; then
- APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag${ap_zlib_Base}/lib])
+ APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag${ap_zlib_base}/lib])
fi
fi
APR_ADDTO(LIBS, [-lz])