ID: 20245
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX 4.3.3-10
PHP Version: 4.3.0-pre2
New Comment:
-lz is added from mysql (see /www/mysql/bin/mysql_config --libs). By
default, on AIX libz is in /usr/local/lib.
Try adding:
LDFLAGS='-L/usr/local/lib -lz' \
./configure \
...
Previous Comments:
------------------------------------------------------------------------
[2002-11-04 08:07:54] [EMAIL PROTECTED]
I have the last version of php (php4-200211030600)
------------------------------------------------------------------------
[2002-11-04 07:46:41] [EMAIL PROTECTED]
Hi, there is my configure :
./configure \
--with-mysql=/www/mysql \
--with-apache=../apache_1.3.19 \
--enable-track-vars \
--enable-calendar \
--with-oracle=/oracle/app/oracle/product/7.3.4 \
--prefix=/www
and there is the error when I do the "make" (this is the end of the
log):
main/internal_functions_cli.lo -lclient -lsqlnet -lncr -lsqlnet
-lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3
-lmysqlclient -lcrypt -lm -lcrypt -lm -lld -lm -lm -lld -lm -lm -lld
-lm -lm -lld -lm -o sapi/cli/php
ld: 0706-006 Cannot find or open library file: -l z
ld:open(): No such file or directory
make: The error code from the last command is 255.
I don't know anything in link-edit.
Thank you for your help
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20245&edit=1