Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 20 Aug 2003 23:22:28 +0100 From: Elfyn McBratney To: cygwin AT cygwin DOT com Subject: Re: mod_auth_mysql Message-ID: <20030820222228.GF11470@emcb.co.uk> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <154173950858 DOT 20030820180209 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Bill McCormick wrote: > > You need to link against zlib. > > > > > gcc -I/usr/local/mysql/include/mysql -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEEDED > `./apaci` \ > -o httpd buildmark.o modules.o modules/standard/libstandard.a > modules/auth_mysql/libauth_mysql.a main/libmain.a ./os/cygwin/libos.a > ap/libap.a > regex/libregex.a -L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lcr > ypt -lgdbm -lexpat -lz >[...] Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as zlib is a dependency, AFAIK). -- Elfyn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/