From: Laurenz Albe <laurenz.albe@cybertec.at>
To: miriam.blume@prudential.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed
Date: Fri, 07 Jul 2023 23:35:29 +0200
Message-ID: <98d4696c001699e64a7c9c8fe1e771fc429919b6.camel@cybertec.at> (raw)
In-Reply-To: <18017-3c8657dc2a58c252@postgresql.org>
References: <18017-3c8657dc2a58c252@postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: laurenz.albe@cybertec.at, miriam.blume@prudential.com
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed
In-Reply-To: <98d4696c001699e64a7c9c8fe1e771fc429919b6.camel@cybertec.at>
References: <18017-3c8657dc2a58c252@postgresql.org> <98d4696c001699e64a7c9c8fe1e771fc429919b6.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox