On Fri, 2023-07-07 at 16:46 +0000, PG Bug reporting form wrote:
> Operating system: Red Hat Enterprise Linux release 8.8
>
> ./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.
Well, you probably don't have the C headers installed.
Try installing the openldap-devel package.
Yours,
Laurenz Albe