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 1qHrmB-0003T8-9p for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Jul 2023 20:09:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qHrm8-0001FW-AL for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Jul 2023 20:09:56 +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 1qHrDJ-0004UG-C5 for pgsql-bugs@lists.postgresql.org; Fri, 07 Jul 2023 19:33:57 +0000 Received: from mx0b-000e5c14.pphosted.com ([148.163.137.209]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qHrDB-002aYC-73 for pgsql-bugs@lists.postgresql.org; Fri, 07 Jul 2023 19:33:55 +0000 Received: from pps.filterd (m0206231.ppops.net [127.0.0.1]) by mx0a-000e5c14.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 367DvfRD011036 for ; Fri, 7 Jul 2023 14:33:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=express-scripts.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pod140124231234; bh=l2jyiCIdis/wxauBqjmdARMlzRtqzdM9cnD/aqwNcy4=; b=ygYdnWG/dDZCzqSDMs96uj2jnlmXdnNYDkiYavQRAQatORjb0DxRJIjry6jcKfgztOq9 YxItgfU6YR8c+JRftGEPiblPIko5HjJv36d3ZjYyu3rOjONDnzV1hHvyKwlzZbaX2Z7F pFth6JegBiQo+3rVtmVjdKTw6pme0cjdNXt0izxJcJUhwCe31Q7gjVjN7kfl8BBBPjYo yQuidVqSwMt31/2tc6h0KvMt8s7k0h1bKrMru7Kvu9oR13/RTfxs6FN2yhqlmtVwKQsr RMFhFFCAHJKFJJKyxxr7p1SNgr6fuF2WBz4dKXGG+bCUkI1jNN3mFClhPlMp49cZ4QMR 5Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-000e5c14.pphosted.com (PPS) with ESMTPS id 3rnxqpb3np-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 07 Jul 2023 14:33:47 -0500 Received: from m0206231.ppops.net (m0206231.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 367JXY5H001695 for ; Fri, 7 Jul 2023 14:33:47 -0500 Received: from eiaappxp0007.gid.prd.globalcore.com ([170.48.0.130]) by mx0a-000e5c14.pphosted.com (PPS) with ESMTPS id 3rnxqpb3nn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jul 2023 14:33:47 -0500 Received: from cvlappxp20759.internal.cigna.com (HELO PS2PW1012185.accounts.root.corp) ([10.36.52.92]) by EIAAPPXP0007.gid.prd.globalcore.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2023 19:33:47 +0000 Received: from PS2PW1012186.accounts.root.corp (10.221.225.154) by PS2PW1012185.accounts.root.corp (10.221.225.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 7 Jul 2023 15:33:46 -0400 Received: from PS2PW1012186.accounts.root.corp ([fe80::9fec:fffb:1381:33ad]) by PS2PW1012186.accounts.root.corp ([fe80::9fec:fffb:1381:33ad%6]) with mapi id 15.02.1118.026; Fri, 7 Jul 2023 15:33:46 -0400 From: "Wetmore, Matthew (CTR)" To: Miriam Blume , "pgsql-bugs@lists.postgresql.org" Subject: RE: BUG #18017: configure --with-ldap fails when openldap is installed Thread-Topic: BUG #18017: configure --with-ldap fails when openldap is installed Thread-Index: AQHZsQRiE2wDT/uCOEuPfTvw8fKiga+usaBg Date: Fri, 7 Jul 2023 19:33:45 +0000 Message-ID: <0f3cc74adad844de8ac167c8b63e088d@express-scripts.com> References: <18017-3c8657dc2a58c252@postgresql.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.222.252.1] x-proofpoint-routing: 000e5c14 Content-Type: multipart/alternative; boundary="_000_0f3cc74adad844de8ac167c8b63e088dexpressscriptscom_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-07_13,2023-07-06_02,2023-05-22_02 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_0f3cc74adad844de8ac167c8b63e088dexpressscriptscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, When I worked at SirusXm and we had RHEL, we had lots of issues with RHEL '= secure LTS versions' not having the right dependencies for newer bleeding e= dge stuff. In fact, RHEL stable was almost 1-2 years behind for some thing= s. Check with your RHEL IT team and ask them to look into. This may not be a Postgres thing, but a RHEL issue. From: Miriam Blume Sent: Friday, July 7, 2023 11:23 AM To: pgsql-bugs@lists.postgresql.org Subject: [EXTERNAL] Re: BUG #18017: configure --with-ldap fails when openld= ap is installed I was able to reproduce the issue with 15.3 From: PG Bug reporting form > Date: Friday, July 7, 2023 at 12:47 To: pgsql-bugs@lists.postgresql.org= > Cc: Miriam Blume > Subject: BUG #18017: configure --with-ldap fails when openldap is installed The following bug has been logged on the website: Bug reference: 18017 Logged by: Miriam Blume Email address: miriam.blume@prudential.com PostgreSQL version: 15.3 Operating system: Red Hat Enterprise Linux release 8.8 Description: ./configure --prefix=3D/opt/PostgreSQL/postgresql-15.2 --with-openssl --with-ldap checking for HMAC_CTX_new... yes checking for HMAC_CTX_free... yes checking for CRYPTO_lock... no checking for ldap_bind in -lldap... no configure: error: library 'ldap' is required for LDAP we have: openldap-2.4.46-18.el8.x86_64 Bug: it does not recognize the presence of openldap. Note: yes I did not try 15.3. We have an approval process that makes obtaining 15.3 not trivial. But 15.3 release notes do not mention ldap so I expect bug to be in 15.3 too. Can anyone confirm issue please? --_000_0f3cc74adad844de8ac167c8b63e088dexpressscriptscom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

=  

When = I worked at SirusXm and we had RHEL, we had lots of issues with RHEL ‘= ;secure LTS versions’ not having the right dependencies for newer ble= eding edge stuff.  In fact, RHEL stable was almost 1-2 years behind for some things.

=  

Check= with your RHEL IT team and ask them to look into.

=  

This = may not be a Postgres thing, but a RHEL issue.

=  

=  

From:= Miriam Blume <miriam.blume@prudential.= com>
Sent: Friday, July 7, 2023 11:23 AM
To: pgsql-bugs@lists.postgresql.org
Subject: [EXTERNAL] Re: BUG #18017: configure --with-ldap fails when= openldap is installed

 

I was able to repro= duce the issue with 15.3

 

From: PG Bug reporting fo= rm <noreply@postgresql.org= >
Date: Friday, July 7, 2023 at 12:47
To: pgsql-bugs@li= sts.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Miriam Blume <= miriam.blume@prudential.com>
Subject: BUG #18017: configure --with-ldap fails when openldap is in= stalled

The following bug has been logged on the website:

Bug reference:      18017
Logged by:          Miriam Blu= me
Email address:      miriam.blume@prudential.com
PostgreSQL version: 15.3
Operating system:   Red Hat Enterprise Linux release 8.8
Description:       

./configure --prefix=3D/opt/PostgreSQL/postgresql-15.2 --with-openssl
--with-ldap

<snip>
checking for HMAC_CTX_new... yes
checking for HMAC_CTX_free... yes
checking for CRYPTO_lock... no
checking for ldap_bind in -lldap... no
configure: error: library 'ldap' is required for LDAP

we have:
openldap-2.4.46-18.el8.x86_64

Bug: it does not recognize the presence of openldap.

Note: yes I did not try 15.3. We have an approval process that makes
obtaining 15.3 not trivial. But 15.3 release notes do not mention ldap so I=
expect bug to be in 15.3 too. Can anyone confirm issue please?

--_000_0f3cc74adad844de8ac167c8b63e088dexpressscriptscom_--