Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mItkE-0007vU-Mk for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Aug 2021 14:19:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mItkD-0002Bg-NF for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Aug 2021 14:19:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIthT-0007BB-Uj for pgsql-bugs@lists.postgresql.org; Wed, 25 Aug 2021 14:16:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIthS-0003gR-1m for pgsql-bugs@lists.postgresql.org; Wed, 25 Aug 2021 14:16:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 17PEFA25544883; Wed, 25 Aug 2021 10:15:10 -0400 From: Tom Lane To: =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: No libldap_r in OpenLDAP 2.5 - use LDAP_API_FEATURE_X_OPENLDAP_REENTRANT from ldap_features.h In-reply-to: <3894d2a91d141b0fe454da01b3b7faad6fa9d07a.camel@aegee.org> References: <20210825052142.Horde.fX47Irhz5YmXoRVbIbyYUJm@webmail.aegee.org> <520273.1629872978@sss.pgh.pa.us> <3894d2a91d141b0fe454da01b3b7faad6fa9d07a.camel@aegee.org> Comments: In-reply-to =?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= message dated "Wed, 25 Aug 2021 10:07:40 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <544881.1629900910.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Aug 2021 10:15:10 -0400 Message-ID: <544882.1629900910@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?UTF-8?Q?=3DD0=3D94=3DD0=3DB8=3DD0=3DBB=3DD1=3D8F=3DD0=3DBD_?=3D =3D?UT= F-8?Q?=3DD0=3D9F=3DD0=3DB0=3DD0=3DBB=3DD0=3DB0=3DD1=3D83=3DD0=3DB7=3DD0=3D= BE=3DD0=3DB2?=3D writes: > Hello Tom, > on my system I have installed first OpenLDAP 2.4, and then in addition > OpenLDAP 2.5. Doesn't sound like a particularly good idea. How are you going to get their header files to coexist? What if configure sees the wrong header file for the library it picks up? regards, tom lane