note 19559 rejected from faq.build by alindeman
| From: | alindeman@php.net | Date: | Sun, 03 Mar 2002 22:55:34 +0000 |
| Subject: | note 19559 rejected from faq.build by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27302@lists.php.net to get a copy of this message | ||
I just can't compile php 4.1.2 in slackware 7.1. I get an undefined reference to
"compress" and the -lz flag isn't working.
Making all in .
make[1]: Entering directory `/root/appz/php-4.1.2'
/bin/sh /root/appz/php-4.1.2/libtool --silent --mode=link gcc -I. -I/root/appz/php-4.1.2/
-I/root/appz/php-4.1.2/main -I/root/appz/php-4.1.2 -I/root/appz/php-4.1.2/Zend -I/usr/local/include
-I/usr/local/mysql/include -I/root/appz/php-4.1.2/ext/xml/expat -I/root/appz/php-4.1.2/TSRM -g -O2
-o php -export-dynamic stub.lo libphp4.la
/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[1]: *** [php] Error 1
make[1]: Leaving directory `/root/appz/php-4.1.2'
make: *** [all-recursive] Error 1
Can anyone guess what's going on?