This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mod_auth_mysql

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

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


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]