[Modules] mod_log_sql make error

Marcel Hartmann mail at marcel-hartmann.com
Fri Jun 10 06:26:44 EST 2005


Hello,

yesterday i have installed the mod_log_sql and all works fine.

Today i will build the Module on my centos4 distribution, with
mysql-4.10a.
If i ./configure the module all works fine, but the gmakew command
says:

# gmake
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic
-O2 -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0
-I/usr/include/httpd -Wall -fno-strict-aliasing -I/usr/include/mysql
-DHAVE_CONFIG_H -DWITH_APACHE20  -c -o mod_log_sql_mysql.lo
mod_log_sql_mysql.c && touch mod_log_sql_mysql.slo
/bin/sh /usr/lib/apr/build/libtool --silent --mode=link gcc -o
mod_log_sql_mysql.la -Wall -fno-strict-aliasing -I/usr/include/mysql
-DHAVE_CONFIG_H -DWITH_APACHE20  -Wc,-Wall -Wc,-fno-strict-aliasing
-L/usr/lib/mysql -lmysqlclient -lm -lz -rpath /usr/lib/httpd/modules -module
-avoid-version    mod_log_sql_mysql.lo
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
gmake: *** [mod_log_sql_mysql.la] Fehler 1

does anyone have an Idea to solve this error?
Is elsewhere a make-log-file?

Greets Marcel Hartmann




More information about the Modules mailing list