Re: BUG #18017: configure --with-ldap fails when openldap is installed

From: Miriam Blume <miriam(dot)blume(at)prudential(dot)com>
To: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed
Date: 2023-07-07 18:23:25
Message-ID: CH2PR11MB4229CCB8B7362A9B9BBAF048F32DA@CH2PR11MB4229.namprd11.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I was able to reproduce the issue with 15.3

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Wetmore, Matthew (CTR) 2023-07-07 19:33:45 RE: BUG #18017: configure --with-ldap fails when openldap is installed
Previous Message PG Bug reporting form 2023-07-07 16:46:46 BUG #18017: configure --with-ldap fails when openldap is installed