php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6777 connfigure aborts probably because of emtpt LDAP_PTHREAD
Submitted: 2000-09-16 14:02 UTC Modified: 2000-12-07 11:17 UTC
From: Wolfram dot Schmidt at iao dot fhg dot de Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.3 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-09-16 14:02 UTC] Wolfram dot Schmidt at iao dot fhg dot de
Since I wasn't able to solve the link failiures with Sun C 5.0 I switched to gcc 2.95.2.

Now configure aborts with:
checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.

I have installed zlib 1.1.3

Looking in config.log other test that sould succeed also failed. The reason is that LIBS contains "-l -lint".

My research so far:

--with-ldap  fails
--with-ldap=/usr/local fails
--with-ldap=/usr/local/netscape-ldapsdk30 fails

omitting --with-ldap leads to success.
But I want LDAP...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 08:55 UTC] sniper@php.net
Fixed in CVS.

--Jani
 [2000-10-14 15:54 UTC] Wolfram dot Schmidt at iao dot fhg dot de
Problem still exists in 4.0.3

Applying the patch sent to me by Jani for Version 4.0.2 and running buildconf fixes the problem.

Index: acinclude.m4
===================================================================
RCS file: /repository/php4/acinclude.m4,v
retrieving revision 1.103
diff -u -r1.103 acinclude.m4
--- acinclude.m4        2000/09/11 15:25:06     1.103
+++ acinclude.m4        2000/09/17 22:32:13
@@ -535,7 +535,9 @@
 ])
 
 AC_DEFUN(PHP_X_ADD_LIBRARY,[
-  ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
+  if test -n "$1"; then 
+    ifelse($2,,$3="-l$1 [$]$3", $3="[$]$3 -l$1")
+  fi
 ])
 
 dnl

 [2000-10-18 10:39 UTC] sniper@php.net
If this is still happening please send me the 
config.log file (by email not via webinterface).

--Jani
 [2000-12-07 11:17 UTC] sniper@php.net
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 03:00:01 2026 UTC