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

From PG Bug reporting form
Subject BUG #18017: configure --with-ldap fails when openldap is installed
Date
Msg-id 18017-3c8657dc2a58c252@postgresql.org
Whole thread Raw
Responses Re: BUG #18017: configure --with-ldap fails when openldap is installed
Re: BUG #18017: configure --with-ldap fails when openldap is installed
List pgsql-bugs
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: Daniel Gustafsson
Date:
Subject: Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Next
From: Miriam Blume
Date:
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed