Re: configure openldap crash warning

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: configure openldap crash warning
Date: 2022-05-09 12:28:13
Message-ID: a3a4ab66-7f94-ea6d-0de2-565828a769ce@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06.05.22 21:25, Tom Lane wrote:
> I wrote:
>> After thinking about this for awhile, it seems like the best solution
>> is to make configure proceed like this:
>
>> 1. Find libldap.
>> 2. Detect whether it's OpenLDAP 2.5 or newer.
>> 3. If not, try to find libldap_r.
>
> Here's a proposed patch for that. It seems to do the right thing
> with openldap 2.4.x and 2.6.x, but I don't have a 2.5 installation
> at hand to try.

This patch works for me. I think it's a good solution.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-05-09 12:36:47 Re: configure openldap crash warning
Previous Message Niyas Sait 2022-05-09 11:44:22 Re: [PATCH] Add native windows on arm64 support