mod_auth_mysql : HELP!!!

Bill McCormick wpmccormick@covad.net
Thu Aug 21 06:36:00 GMT 2003


> Try moving `-lz' to the beginning of the link line (before
> `-lmysqlclient' as
> zlib is a dependency, AFAIK).
>

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 -L/lib -lz -lmysqlclient -lc
rypt -lgdbm -lexpat
modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth
_mysql.c: undefined reference to `_mysql_connect'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x8b):my_co
mpress.c: undefined reference to `_compress'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x16d):my_c
ompress.c: undefined reference to `_compress'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x210):my_c
ompress.c: undefined reference to `_uncompress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.24-5/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.24-5'
make: *** [build] Error 2

Still no joy >:O
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003


--
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/



More information about the Cygwin mailing list