[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: libldap vs libldap_r ?





On 3/18/19 11:23 AM, Quanah Gibson-Mount wrote:
--On Monday, March 18, 2019 5:15 PM +0000 Howard Chu <hyc@symas.com> wrote:

I noticed that OpenSSL 1.1 now has an explicit dependency on Pthreads.
Which means that now even our "non-threaded" libldap, when built with
OpenSSL, must actually be linked with the threads library. In this age of
multicore processors, is it really important to have a single-threaded
LDAP library any more? Should we just make libldap_r become the standard
library?

Using libldap_r as the standard library has been the default with many downstream linux distributions for years, so I think that's reasonable (and well tested at this point).

--Quanah

Similarly with Solaris, when we started shipping OpenLDAP as the supported libldap in our distribution, we have only ever shipped the libldap_r library.  All of our libldap.*s files are just symlinks. As I recall, we started doing this back with the 2.4.30 release.

Doug.