#20245 [Opn->Bgs]: ld: 0706-006 Cannot find or open library file: -l z
| From: | iliaa@php.net | Date: | Tue, 05 Nov 2002 15:07:50 +0000 |
| Subject: | #20245 [Opn->Bgs]: ld: 0706-006 Cannot find or open library file: -l z | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24112@lists.php.net to get a copy of this message | ||
ID: 20245
Updated by: iliaa@php.net
Reported By: garrel.a@chu-nice.fr
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: AIX 4.3.3-10
PHP Version: 4.3.0-pre2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-11-05 09:03:26] garrel.a@chu-nice.fr
Thank you!
That's work fine now.
------------------------------------------------------------------------
[2002-11-04 08:18:59] msopacua@php.net
-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 \
...
------------------------------------------------------------------------
[2002-11-04 08:07:54] garrel.a@chu-nice.fr
I have the last version of php (php4-200211030600)
------------------------------------------------------------------------
[2002-11-04 07:46:41] garrel.a@chu-nice.fr
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