delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/21/05:18:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <gerrit AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <197236139440.20030821111837@familiehaase.de>
To: "Bill McCormick" <wpmccormick AT covad DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: mod_auth_mysql
In-Reply-To: <NDBBLLFMLFMANIDPNADCOEOLFEAA.wpmccormick@covad.net>
References: <NDBBLLFMLFMANIDPNADCOEOLFEAA DOT wpmccormick AT covad DOT net>
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019