same problems. Setup:
Redhat 6.2
Apache 3.14 w/SSL w/PHP4 (all compiled)
MySQL 3.23.32 (RPM install)
mod_auth_mysql 2.20
tried as both apxs module and compiling into apache from source. Anyone had success??
APXS:
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for crypt.h... (cached) yes
checking for crypt... (cached) no
checking for crypt in -lc... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... yes
checking for MD5 crypt... yes
checking for Blowfish crypt... yes
checking for Apache module support via DSO through APXS... yes
checking for Apache module support via DSO through APACI... no
checking for MySQL directory... /usr
creating ./config.status
creating Makefile
creating libauth_mysql.module
creating config.h
config.h is unchanged
Please run 'make'
[root@xxxxx mod_auth_mysql-2.20]# make
/usr/local/apache/bin/apxs -i -a -n auth_mysql libauth_mysql.so
cp libauth_mysql.so /usr/local/apache/libexec/libauth_mysql.so
cp: libauth_mysql.so: No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install] Error 1
Apache Source:
unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lcrypt -lndbm -ldl
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function my_uncompress':
my_compress.o(.text+0x97): undefined reference to
uncompress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o): In function my_compress_alloc':
my_compress.o(.text+0x12b): undefined reference to
compress'
collect2: ld returned 1 exit status
make[2]: [target_static] Error 1
make[2]: Leaving directory /updates/temp/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory
/updates/temp/apache_1.3.14'
make: [build] Error 2