Re: Are compression requirements needed when building only libraries?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Uilian Ries <uilianries(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Are compression requirements needed when building only libraries?
Date: 2025-10-09 14:49:03
Message-ID: 78e3d08ec899af4335808472cc634c5dcdc64017.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message veem v 2025-10-09 15:21:56 Re: Alerting on memory use and instance crash
Previous Message Ron Johnson 2025-10-09 13:49:34 Re: Pgbackrest changing RepoServer to new one