Re: Compile 12.2 with specific OpenSSL libraries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile 12.2 with specific OpenSSL libraries
Дата
Msg-id 713743.1601404414@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compile 12.2 with specific OpenSSL libraries  (Joshua Poehls <joshua@poehls.me>)
Ответы Re: Compile 12.2 with specific OpenSSL libraries  (Joshua Poehls <joshua@poehls.me>)
Список pgsql-general
Joshua Poehls <joshua@poehls.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



В списке pgsql-general по дате отправления:

Предыдущее
От: Joshua Poehls
Дата:
Сообщение: Re: Compile 12.2 with specific OpenSSL libraries
Следующее
От: Joshua Poehls
Дата:
Сообщение: Re: Compile 12.2 with specific OpenSSL libraries