Php, Apache, mysql - make error
| From: | S Jha | Date: | Sun, 04 Mar 2001 20:56:04 +0000 |
| Subject: | Php, Apache, mysql - make error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42524@lists.php.net to get a copy of this message | ||
HI Gurus,
I am getting this error. I saw few posting for this error and found someone suggesting
"-lz"
option in Makefile in LIBS option.
However, I didn't found this line in apache Makefile.
Also I tried other methods including reloading zlib, reconf mysql ..but in vain. Please help.
I did -
#SSL_BASE=../openssl-0.9.6 RSA_BASE=../rsaref-2.0/local ./configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefix=/usr/local/apache
--enable-shared=ssl
#make
The error message was -
/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
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/sjha/apache_1.3.17/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/sjha/apache_1.3.17'
make: *** [build] Error 2
Thanks,
SJ
=====
Sanjeev Jha, Unix System Administrator
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/