pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18017: configure --with-ldap fails when openldap is installed
4+ messages / 4 participants
[nested] [flat]

* BUG #18017: configure --with-ldap fails when openldap is installed
@ 2023-07-07 16:46 PG Bug reporting form <noreply@postgresql.org>
  2023-07-07 18:23 ` Re: BUG #18017: configure --with-ldap fails when openldap is installed Miriam Blume <miriam.blume@prudential.com>
  2023-07-07 21:35 ` Re: BUG #18017: configure --with-ldap fails when openldap is installed Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 2 replies; 4+ messages in thread

From: PG Bug reporting form @ 2023-07-07 16:46 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: miriam.blume@prudential.com

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?



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18017: configure --with-ldap fails when openldap is installed
  2023-07-07 16:46 BUG #18017: configure --with-ldap fails when openldap is installed PG Bug reporting form <noreply@postgresql.org>
@ 2023-07-07 18:23 ` Miriam Blume <miriam.blume@prudential.com>
  2023-07-07 19:33   ` RE: BUG #18017: configure --with-ldap fails when openldap is installed Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Miriam Blume @ 2023-07-07 18:23 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

I was able to reproduce the issue with 15.3

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* RE: BUG #18017: configure --with-ldap fails when openldap is installed
  2023-07-07 16:46 BUG #18017: configure --with-ldap fails when openldap is installed PG Bug reporting form <noreply@postgresql.org>
  2023-07-07 18:23 ` Re: BUG #18017: configure --with-ldap fails when openldap is installed Miriam Blume <miriam.blume@prudential.com>
@ 2023-07-07 19:33   ` Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Wetmore, Matthew (CTR) @ 2023-07-07 19:33 UTC (permalink / raw)
  To: Miriam Blume <miriam.blume@prudential.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

Hi,

When I worked at SirusXm and we had RHEL, we had lots of issues with RHEL 'secure LTS versions' not having the right dependencies for newer bleeding edge stuff.  In fact, RHEL stable was almost 1-2 years behind for some things.

Check with your RHEL IT team and ask them to look into.

This may not be a Postgres thing, but a RHEL issue.


From: Miriam Blume <miriam.blume@prudential.com>
Sent: Friday, July 7, 2023 11:23 AM
To: pgsql-bugs@lists.postgresql.org
Subject: [EXTERNAL] Re: BUG #18017: configure --with-ldap fails when openldap is installed

I was able to reproduce the issue with 15.3

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18017: configure --with-ldap fails when openldap is installed
  2023-07-07 16:46 BUG #18017: configure --with-ldap fails when openldap is installed PG Bug reporting form <noreply@postgresql.org>
@ 2023-07-07 21:35 ` Laurenz Albe <laurenz.albe@cybertec.at>
  1 sibling, 0 replies; 4+ messages in thread

From: Laurenz Albe @ 2023-07-07 21:35 UTC (permalink / raw)
  To: miriam.blume@prudential.com; pgsql-bugs@lists.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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2023-07-07 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07 16:46 BUG #18017: configure --with-ldap fails when openldap is installed PG Bug reporting form <noreply@postgresql.org>
2023-07-07 18:23 ` Miriam Blume <miriam.blume@prudential.com>
2023-07-07 19:33   ` Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com>
2023-07-07 21:35 ` Laurenz Albe <laurenz.albe@cybertec.at>

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