Click to See Complete Forum and Search --> : Apache + PHP installation problem


leohung
01-04-2001, 12:24 AM
I had try to install apache 1.3.14 and PHP 4.04 on Redhat 6.2. I install them through the static module procedure in PHP INSTAll file. But after I finished install the PHP. When I "make" the apache binary. It give me error.
---------------------------------
..../libmysqlclient.a(my_compress.o): Infunction 'my_uncompress':
my_compress.o(.text+0x97): undefined reference to 'uncompress'

make[2]: ***[target_static] Error 1
make[1]: ***[build-std] Error 2

Do anyone know what problem ??

Sweede
01-04-2001, 02:45 AM
configure php with
--with-zlib

./configure --with-zlib --with-apxs=/path/to/apxs

leohung
01-04-2001, 12:42 PM
http://www.linuxnewbie.org/ubb/biggrin.gif Oh Yes!! The problem fixed. But can you tell me why I need with zlib?

Sweede
01-04-2001, 12:53 PM
mysql 3.23.2x and higher requires it for some reason.