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:36:47Z
Lists: pgsql-hackers
On 04.05.22 17:16, Tom Lane wrote: > Hmm, I just tried it with up-to-date MacPorts, and it was a*complete* > fail: I got all the deprecation warnings (so the system include headers > were used), and both postgres and libpq.dylib still ended up linked > against /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP. Btw., I was a bit puzzled about all this talk about deprecation warnings, which I have not seen. I turns out that you only get those if you use the OS compiler, not a third-party gcc installation. So in terms of my original message, my installation is clearly niche. The possibly false-positive configure warning is a drop in the bucket compared to the deprecation warnings from the compiler. So it's probably okay to leave this as is and encourage users to use openldap.
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