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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: crrodriguez at opensuse dot org
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 17:01:30 2024 UTC