From: Tom Lane <tgl@sss.pgh.pa.us>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: No libldap_r in OpenLDAP 2.5 - use LDAP_API_FEATURE_X_OPENLDAP_REENTRANT from ldap_features.h
Date: Wed, 25 Aug 2021 10:36:40 -0400
Message-ID: <545973.1629902200@sss.pgh.pa.us> (raw)
In-Reply-To: <8bf71cb05679342f8a09206cb03fc727d5d52830.camel@aegee.org>
References: <20210825052142.Horde.fX47Irhz5YmXoRVbIbyYUJm@webmail.aegee.org>
<520273.1629872978@sss.pgh.pa.us>
<3894d2a91d141b0fe454da01b3b7faad6fa9d07a.camel@aegee.org>
<544882.1629900910@sss.pgh.pa.us>
<8bf71cb05679342f8a09206cb03fc727d5d52830.camel@aegee.org>
=?UTF-8?Q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD_?= =?UTF-8?Q?=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2?= <dilyan.palauzov@aegee.org> writes:
> I run Linux from Scratch system. All old binaries, are linked with
> libldap(_r)-2.4, all new things get linked towards libldap-2.5 . So
> the configuration step always sees libldap-2.5 as most current (and its
> header files). I can in theory point the build process to versioned-
> headers, but I do not have to.
> The problem here is, that libldap_r-2.4, libldap-2.4, and libldap-2.5
> are installed on the system. I want that libpq.so is not linked with
> libldap_r-2.4, but with libldap-2.5.
If that is your plan, then you should have only the 2.5 libldap-devel
support installed, not 2.4. In particular, that would mean that you
shouldn't have any .so symlinks for the 2.4 libraries, which should
cause configure not to see them.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, dilyan.palauzov@aegee.org, pgsql-bugs@lists.postgresql.org
Subject: Re: No libldap_r in OpenLDAP 2.5 - use LDAP_API_FEATURE_X_OPENLDAP_REENTRANT from ldap_features.h
In-Reply-To: <545973.1629902200@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox