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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to