Re: configure openldap crash warning
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-05-09T12:28:13Z
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.
Commits
-
configure: don't probe for libldap_r if libldap is 2.5 or newer.
- c61f36d99606 10.22 landed
- aff45c879e01 15.0 landed
- af9b96767153 13.8 landed
- 8ed13fb9346d 12.12 landed
- 36d76da8156a 11.17 landed
- 12736e7dc326 14.4 landed