Re: Are compression requirements needed when building only libraries?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Are compression requirements needed when building only libraries?
Дата
Msg-id 78e3d08ec899af4335808472cc634c5dcdc64017.camel@cybertec.at
обсуждение исходный текст
Ответ на Are compression requirements needed when building only libraries?  (Uilian Ries <uilianries@gmail.com>)
Ответы Re: Are compression requirements needed when building only libraries?
Список pgsql-general
On Thu, 2025-10-09 at 13:10 +0200, Uilian Ries wrote:
> Greetings!
>
> I'm building PostgreSQL 17.5 locally, on Ubuntu 22.04, and using a CPU architecture x86_64.
>
> I noted the meson_options.txt file contains a few optional dependencies, like
> zstd, zlib, lz4, libxml, and libxslt, which mostly seem to be related to compression.
>
> However, even when I build all libraries using those options enabled, I can't see them
> listed as a dependency of the libraries:
>
> [...]
>
> So, my question is: Is it correct to affirm I don't need those dependencies when only
> interested in building and consuming the libraries? 
>
> I'm asking because I don't see a specific option in the meson_option.txt to disable/enable
> producing the executables, but only general options for dependencies.

My PostgreSQL is built with support for all these libraries, and I find that
my libraries are linked with "libz", but not with the other compression
libraries.

How did you configure and build PostgreSQL?

Yours,
Laurenz Albe



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