Re: Compile 12.2 with specific OpenSSL libraries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joshua Poehls <joshua(at)poehls(dot)me>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Compile 12.2 with specific OpenSSL libraries
Date: 2020-09-29 18:33:34
Message-ID: 713743.1601404414@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joshua Poehls <joshua(at)poehls(dot)me> writes:
> rpath and LD_LIBRARY_PATH are only relevant for the runtime
> linking/resolution, right? My concern is that at *compilation time* the
> wrong version of OpenSSL is being picked up.

No; --with-libraries will control what's linked against. The problem
you face is that the dynamic linker has its own idea of how to resolve
the library references at runtime. (ldd just reports on what the
dynamic linker would do; there's no trace in the executable file of
exactly which copy of a shlib was linked against.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua Poehls 2020-09-29 19:02:59 Re: Compile 12.2 with specific OpenSSL libraries
Previous Message Joshua Poehls 2020-09-29 18:30:42 Re: Compile 12.2 with specific OpenSSL libraries