Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87042 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58777 invoked from network); 6 Jul 2015 08:15:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2015 08:15:50 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.54 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.215.54 mail-la0-f54.google.com Received: from [209.85.215.54] ([209.85.215.54:34728] helo=mail-la0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/F8-21549-5393A955 for ; Mon, 06 Jul 2015 04:15:49 -0400 Received: by lagx9 with SMTP id x9so144861474lag.1 for ; Mon, 06 Jul 2015 01:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TcKA375DLfdvvUffdEXEqgKNm7YZRxX1FKlu9gsekLs=; b=r3Jh4oP9bEK0k388TwHQTk7qvfCsc5pzqW2/YFl3c+Y8Ero65SXzsrfvGbx5euRmO1 1Yj59MznjGpbm/jMfz54aFflqIStpCXONlHsdFOdPBWPe0l4cmEw+jwFdNp8Y1zuyzXm LESfX7ktQne6N1dQyk/dKmchzDuGa6FKrYLAgT0tTt4GuMNWpwth+37+d+5t91BAD1NJ aCbQX00AFthIFZSsM3zRgCGh9lle5JT9UW8ZNI/JqEtl9WppknD8whEG6wHxRnZrKo3q 9z8zhmBOw4aX8mCXPSak2Vea4duo9pVBkJeFFctUc80Aga4kT+diHzLmgdVET76lbW0p fLCg== MIME-Version: 1.0 X-Received: by 10.152.246.37 with SMTP id xt5mr47567937lac.83.1436170546349; Mon, 06 Jul 2015 01:15:46 -0700 (PDT) Received: by 10.152.43.105 with HTTP; Mon, 6 Jul 2015 01:15:46 -0700 (PDT) In-Reply-To: <559A36BB.8050108@opensides.be> References: <5598F64E.4040501@gmail.com> <55996336.7000104@opensides.be> <559A36BB.8050108@opensides.be> Date: Mon, 6 Jul 2015 10:15:46 +0200 Message-ID: To: =?UTF-8?Q?C=C3=B4me_BERNIGAUD?= Cc: Stanislav Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=001a113496d0408fb6051a3083ee Subject: Re: [PHP-DEV] Re: LDAP build broken From: tyra3l@gmail.com (Ferenc Kovacs) --001a113496d0408fb6051a3083ee Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jul 6, 2015 at 10:05 AM, C=C3=B4me BERNIGAUD 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 =E2=9C=97)]$ 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 =E2=9C=97)]$ 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, bu= t >> I wouldn't be surprised if this is different from the official upstream. >> > > Wow=E2=80=A6 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 =E2=9C=97)]$ grep LDAP_API_= VERSION /usr/include/ldap.h #define LDAP_API_VERSION 3001 --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a113496d0408fb6051a3083ee--