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 X-AuthUser: gerrit:koeln.convey.de Date: Thu, 21 Aug 2003 11:18:37 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <197236139440.20030821111837@familiehaase.de> To: "Bill McCormick" CC: cygwin AT cygwin DOT com Subject: Re: mod_auth_mysql In-Reply-To: References: MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Bill schrieb: >> 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 > modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth > _mysql.c: undefined reference to `_mysql_connect' > collect2: ld returned 1 exit status > Still no joy :( At least we found _compress et.al. Hmm, which version of mysql are you using, and is there any version recommended for httpd? $ nm libmysqlclient.a | grep _mysql_connect 00002db0 T _mysql_connect This is version 3.23.43 In version 4.1.0-alpha I just find: $ nm libmysqlclient.a | grep connect 00000000 T _mysql_real_connect 00000000 T _mysql_manager_connect 00000000 T _my_connect Gerrit -- =^..^= -- 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/