Re: Re: LDAP build broken
| From: | Ferenc Kovacs | Date: | Mon, 06 Jul 2015 08:15:46 +0000 |
| Subject: | Re: Re: LDAP build broken | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87042@lists.php.net to get a copy of this message | ||
On Mon, Jul 6, 2015 at 10:05 AM, Côme BERNIGAUD <come.bernigaud@opensides.be
> wrote:
> On 2015-07-06 10:05, Ferenc Kovacs wrote:
>
>> I can reproduce the issue mentioned by Stas, with the default
>> libldap.dylib on Mac OSX 10.10.14 (latest version).
>> The interesting thing is that the header file contains the function:
>> [tyrael@Ferencs-MacBook-Pro php-src.git (master ✗)]$ grep
>> 'ldap_control_find' /usr/include/ldap.h
>> ldap_control_find LDAP_P((
>> LDAP_CONST char *oid,
>> LDAPControl **ctrls,
>> LDAPControl ***nextctrlp ));
>>
>> but the precompiled library does not:
>> [tyrael@Ferencs-MacBook-Pro php-src.git (master ✗)]$ nm -gU
>> /usr/lib/libldap.dylib|grep find
>> 0000000000008dee T _ldap_find_control
>>
>> The version information for ldap here reports it's version as 2.4.28, but
>> I wouldn't be surprised if this is different from the official upstream.
>>
>
> Wow… why would they have it in the header and remove it from the build -_-
> Could you tell me the value of the constant LDAP_API_VERSION?
>
>
[tyrael@Ferencs-MacBook-Pro php-src.git (master ✗)]$ grep LDAP_API_VERSION
/usr/include/ldap.h
#define LDAP_API_VERSION 3001
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu