Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87040 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54971 invoked from network); 6 Jul 2015 08:05:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2015 08:05:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.49 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.215.49 mail-la0-f49.google.com Received: from [209.85.215.49] ([209.85.215.49:35866] helo=mail-la0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/38-21549-EC63A955 for ; Mon, 06 Jul 2015 04:05:35 -0400 Received: by lagc2 with SMTP id c2so144673344lag.3 for ; Mon, 06 Jul 2015 01:05:30 -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=jnZm4QWc6I5oalUmBxq9uX5kZcaAJ9i01S3dk3Q+AUI=; b=ob8+Cdq5p9VY56oTYYeq4w4/66lojwzz0sodTB9ifSqfluUpisa3f3VLXrIqxG/nVC 50ECkyzqh221C8lYBLYf6sUZeretZC02ROJt5xf/6ydW7p90RnUtp2+jFeERp8DPG/om 4aozF0pK7D9v0vfpnHzqMA7w/HXdt00lJcz5SOrsMLzFdO5sNALw9liZJTVeINb9zNyg AlAxOkx7bKnZRUhqahtfuXYG0N4R7kKwLgrY80nVnHQbEJCbbUWpQzhGqsPzM/GGANom 2Lu0CWaY8kqiDcUyjq7awHmpqODl6uL+QrgAwFcq29M19/9R6FLybxXpE8jRyMy+XKHs VHtQ== MIME-Version: 1.0 X-Received: by 10.112.154.71 with SMTP id vm7mr46941907lbb.96.1436169930682; Mon, 06 Jul 2015 01:05:30 -0700 (PDT) Received: by 10.152.43.105 with HTTP; Mon, 6 Jul 2015 01:05:30 -0700 (PDT) In-Reply-To: <55996336.7000104@opensides.be> References: <5598F64E.4040501@gmail.com> <55996336.7000104@opensides.be> Date: Mon, 6 Jul 2015 10:05:30 +0200 Message-ID: To: =?UTF-8?Q?C=C3=B4me_BERNIGAUD?= Cc: Stanislav Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=089e01227ec08e371e051a305eea Subject: Re: [PHP-DEV] Re: LDAP build broken From: tyra3l@gmail.com (Ferenc Kovacs) --089e01227ec08e371e051a305eea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 5, 2015 at 7:02 PM, C=C3=B4me BERNIGAUD wrote: > On 2015-07-05 11:18, Stanislav Malyshev wrote: > >> I've been rebuilding my checkout of master and I've discovered LDAP >> build is broken: >> >> Undefined symbols for architecture x86_64: >> "_ldap_control_find", referenced from: >> _zif_ldap_control_paged_result_response in ldap.o >> ld: symbol(s) not found for architecture x86_64 >> clang: error: linker command failed with exit code 1 (use -v to see >> invocation) >> > > Hello, > > Which library are you building against? > We tried to understand which libs PHP-LDAP was supposed to support but > found nothing besides openldap so we went and based our cleanup on a > requirement being openldap>=3D2.4. > Are you using an older version, or an other library? Which one? > > hi, 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, but I wouldn't be surprised if this is different from the official upstream. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e01227ec08e371e051a305eea--