Re: Re: LDAP build broken

From: Date: Mon, 06 Jul 2015 08:05:15 +0000
Subject: Re: Re: LDAP build broken
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-87041@lists.php.net to get a copy of this message
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: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#87041) next »