From: | Дилян Палаузов <dilyan(dot)palauzov(at)aegee(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: No libldap_r in OpenLDAP 2.5 - use LDAP_API_FEATURE_X_OPENLDAP_REENTRANT from ldap_features.h |
Date: | 2021-08-25 14:27:26 |
Message-ID: | 8bf71cb05679342f8a09206cb03fc727d5d52830.camel@aegee.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hello Tom,
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.
Greetings
Dilyan Palauzov
On Wed, 2021-08-25 at 10:15 -0400, Tom Lane wrote:
> =?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(dot)palauzov(at)aegee(dot)org> writes:
> > Hello Tom,
> > on my system I have installed first OpenLDAP 2.4, and then in
> > addition
> > OpenLDAP 2.5.
>
> Doesn't sound like a particularly good idea. How are you going to
> get their header files to coexist? What if configure sees the wrong
> header file for the library it picks up?
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-08-25 14:36:40 | Re: No libldap_r in OpenLDAP 2.5 - use LDAP_API_FEATURE_X_OPENLDAP_REENTRANT from ldap_features.h |
Previous Message | Tom Lane | 2021-08-25 14:19:04 | Re: BUG #17159: PostgreSQL13.3:TPCH-Few queries Failed-no connection to the server Vuser |