Subject: Re: mod_auth_mysql
From: "Gerrit P. Haase" <[email-masked]>
To: "Bill McCormick" <[email-masked]>
Cc: [email-masked]
Date: Thu, 21 Aug 2003 11:18:37 +0200

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/