#20245 [Opn->Fbk]: ld: 0706-006 Cannot find or open library file: -l z

From: Date: Mon, 04 Nov 2002 14:18:59 +0000
Subject: #20245 [Opn->Fbk]: 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-24047@lists.php.net to get a copy of this message
ID: 20245 Updated by: msopacua@php.net Reported By: garrel.a@chu-nice.fr -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] 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

« previous php.bugs (#24047) next »