RE: BUG #18017: configure --with-ldap fails when openldap is installed - Mailing list pgsql-bugs

From Wetmore, Matthew (CTR)
Subject RE: BUG #18017: configure --with-ldap fails when openldap is installed
Date
Msg-id 0f3cc74adad844de8ac167c8b63e088d@express-scripts.com
Whole thread Raw
In response to Re: BUG #18017: configure --with-ldap fails when openldap is installed  (Miriam Blume <miriam.blume@prudential.com>)
List pgsql-bugs

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 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 reproduce the issue with 15.3

 

From: PG Bug reporting form <noreply@postgresql.org>
Date: Friday, July 7, 2023 at 12:47
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: Miriam Blume <miriam.blume@prudential.com>
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=/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?

pgsql-bugs by date:

Previous
From: Miriam Blume
Date:
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed
Next
From: Laurenz Albe
Date:
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed