From:             [EMAIL PROTECTED]
Operating system: Linux Mandrake 8.0
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  Apache compilation with PHP/Mysql

Hi,

I know this bug was discussed before but it doesn't seems
corrected in recent release of PHP.

If I configure and compile PHP with :

./configure --with-apache=../apache_1.3.20 \
--with-mysql=/usr/local/mysql

When I try to compile Apache with PHP as static module
Apache won't compile and ends up with :

/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] Erreur 1
make[2]: Quitte le répertoire
`/home/srcs/networking/apache_1.3.20/src'
make[1]: *** [build-std] Erreur 2
make[1]: Quitte le répertoire
`/home/srcs/networking/apache_1.3.20'
make: *** [build] Erreur 2

If I add --with-gd to the PHP configure Apache
compile fine...
I read I should use --with-zlib also.

Is there a more elegant way to solve the problem ?

I tried with MySQL 3.22.X and everything is fine so maybe
it's not a PHP issue... 



Alexis





-- 
Edit Bug report at: http://bugs.php.net/?id=11824&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to