|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49252 ext/ldap/config.m4 sasl2 checks wrong
Submitted: 2009-08-14 14:43 UTC Modified: 2009-08-25 01:00 UTC
From: crrodriguez at opensuse dot org Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 5.3SVN-2009-08-14 (SVN) OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-08-14 14:43 UTC] crrodriguez at opensuse dot org
in ext/ldap/config.m4 there is the following check

  PHP_CHECK_LIBRARY(ldap, sasl_version,

sasl_version symbol is not really found in "ldap" library but in sasl2, that is correctly added soon after with


I think you mean 

PHP_CHECK_LIBRARY(sasl2, sasl_version

Reproduce code:

Expected result:
extension build correctly

Actual result:
failure to build


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-17 18:47 UTC]
It's actually intentional. What configure line did you use when it fails..? The library is passed to the test via the 3rd parameter to PHP_CHECK_LIBRARY() macro and if the ldap library is linked with it, then the test will pass, otherwise it fails. :)
 [2009-08-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 08:01:28 2024 UTC