Re: libldap vs libldap_r ?

Doug Leavitt <[email protected]>
Newsgroups gmane.network.openldap.devel
Message-ID <[email protected]>

On 3/18/19 11:23 AM, Quanah Gibson-Mount wrote:
> --On Monday, March 18, 2019 5:15 PM +0000 Howard Chu <[email protected]> 
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.