php.net |  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
 [2009-08-14 14:43 UTC] crrodriguez at opensuse dot org
Description:
------------
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

PHP_ADD_LIBRARY_WITH_PATH(sasl2, $LDAP_SASL_LIBDIR, LDAP_SHARED_LIBADD)



I think you mean 

PHP_CHECK_LIBRARY(sasl2, sasl_version

Reproduce code:
---------------
...........

Expected result:
----------------
extension build correctly

Actual result:
--------------
failure to build

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-17 18:47 UTC] jani@php.net
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: Sat Dec 21 11:01:30 2024 UTC