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

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: miriam(dot)blume(at)prudential(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18017: configure --with-ldap fails when openldap is installed
Date: 2023-07-07 21:35:29
Message-ID: 98d4696c001699e64a7c9c8fe1e771fc429919b6.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-07-08 00:05:26 Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Previous Message Wetmore, Matthew (CTR) 2023-07-07 19:33:45 RE: BUG #18017: configure --with-ldap fails when openldap is installed