php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20245 ld: 0706-006 Cannot find or open library file: -l z
Submitted: 2002-11-04 07:46 UTC Modified: 2002-11-05 09:07 UTC
From: garrel dot a at chu-nice dot fr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0-pre2 OS: AIX 4.3.3-10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: garrel dot a at chu-nice dot fr
New email:
PHP Version: OS:

 

 [2002-11-04 07:46 UTC] garrel dot a at chu-nice dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-04 08:07 UTC] garrel dot a at chu-nice dot fr
I have the last version of php (php4-200211030600)
 [2002-11-04 08:18 UTC] 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-05 09:03 UTC] garrel dot a at chu-nice dot fr
Thank you!
That's work fine now.
 [2002-11-05 09:07 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 07:01:33 2025 UTC