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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 2 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC