I'm trying to setup Apache with PHP and MySQL. I've been following the how-to from devshed.com (with adjustments for newer versions).
apache_1.3.20.tar.gz
mod_ssl-2.8.4-1.3.20.tar.gz
mysql-3.23.40-pc-linux-gnu-i686.tar.gz
openssl-0.9.6b.tar.gz
php-4.0.6.tar.gz
rsaref20.tar.Z
I've gotten to the point where I need to make Apache and I get an error:
/modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt -ldl
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
I looked up the "undefined reference" error on mysql.com and it says "Error: "undefined reference to `uncompress'" This means that the client library is compiled with support for a compressed client/server protocol. The fix is to add -lz last when linking with -lmysqlclient"
Any ideas where I put that?
Thanks
apache_1.3.20.tar.gz
mod_ssl-2.8.4-1.3.20.tar.gz
mysql-3.23.40-pc-linux-gnu-i686.tar.gz
openssl-0.9.6b.tar.gz
php-4.0.6.tar.gz
rsaref20.tar.Z
I've gotten to the point where I need to make Apache and I get an error:
/modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt -ldl
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
I looked up the "undefined reference" error on mysql.com and it says "Error: "undefined reference to `uncompress'" This means that the client library is compiled with support for a compressed client/server protocol. The fix is to add -lz last when linking with -lmysqlclient"
Any ideas where I put that?
Thanks