#49252 [Opn->Fbk]: ext/ldap/config.m4 sasl2 checks wrong
| From: | jani@php.net | Date: | Mon, 17 Aug 2009 18:47:29 +0000 |
| Subject: | #49252 [Opn->Fbk]: ext/ldap/config.m4 sasl2 checks wrong | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-141165@lists.php.net to get a copy of this message | ||
ID: 49252
Updated by: jani@php.net
Reported By: crrodriguez at opensuse dot org
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: Linux
PHP Version: 5.3SVN-2009-08-14 (SVN)
New Comment:
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. :)
Previous Comments:
------------------------------------------------------------------------
[2009-08-14 14:43:16] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49252&edit=1