php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36945 ./configure regression - fails to find libldap.dylib
Submitted: 2006-04-02 03:00 UTC Modified: 2006-04-10 21:28 UTC
From: albegley at apple dot com Assigned: andrei (profile)
Status: Closed Package: Dynamic loading
PHP Version: 5.1.3RC2 OS: Mac OS X
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: albegley at apple dot com
New email:
PHP Version: OS:

 

 [2006-04-02 03:00 UTC] albegley at apple dot com
Description:
------------
./configure script no longer finds /usr/lib/libldap.dylib on 
Mac OS X

This must be a result of the following change to the 
configure script in 5.1.3RC2 relative to 5.1.2:

@@ -3876,9 +3874,6 @@
   *hpux*)
     SHLIB_SUFFIX_NAME=sl
     ;;
-  *darwin*)
-    SHLIB_SUFFIX_NAME=dylib
-    ;;
   esac

 PHP_SAPI=default



Reproduce code:
---------------
gnutar xfj php-5.1.3RC2.tar.bz2
cd php-5.1.3RC2
./configure --with-ldap=/usr 



Expected result:
----------------
Expected same results as with php-5.1.2, where
./configure script completed without error

Actual result:
--------------
...
checking for InterBase support... no
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
configure: error: Cannot find ldap libraries in /usr/lib.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-02 08:28 UTC] derick@php.net
Andrei, I'm pretty sure this was here for a reason... can you please investigate?
 [2006-04-10 12:16 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2006-04-10 14:09 UTC] albegley at apple dot com
With http://snaps.php.net/php5.1-200604101230.tar.gz, the 
configure step completes correctly. Subsequent make also 
succeeds.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 12:01:36 2025 UTC