Problem installing on Debian Linux (Woody)

Chad M Stewart <[email protected]>
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
Any help/pointers about getting this to compile are welcomed.

debian:mod_log_sql# make dso
+ make dso
/usr/bin/apxs -c  -Wc,-O2 -Wc,-Wall -DEAPI -I/usr/include/mysql  
-L/usr/lib -lmysqlclient -lz mod_log_sql.c
gcc -DLINUX=22 -DEAPI -DTARGET="apache" -I/usr/include/db1 
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O1 -fPIC -DSHARED_MODULE 
-I/usr/include/apache-1.3 -O2 -Wall -I/usr/include/mysql -DEAPI  -c 
mod_log_sql.c
gcc -shared -o mod_log_sql.so mod_log_sql.o -Wc,-O2 -Wc,-Wall 
-L/usr/lib -lmysqlclient -lz -lc -lm -lcrypt -ldb1 -ldb -lexpat
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
make: *** [mod_log_sql.so] Error 1



#APACHESOURCE    = /usr/local/src/apache_1.3.27-dso
APACHEINSTALLED = /usr/sbin
APACHEHEADERS   = /usr/include/apache-1.3
APXS            = /usr/bin/apxs

MYSQLLIBRARIES  = /usr/lib
MYSQLHEADERS    = /usr/include/mysql


If there is a package for debian I have not found it.


Thanks,
Chad

__________________________________________________________________
Reminder: to unsubscribe, send email to <[email protected]>
with the words "unsubscribe mod_log_sql" in the body (w/o quotes).
The module homepage is http://www.grubbybaby.com/mod_log_sql/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.