Re: Are compression requirements needed when building only libraries? - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Are compression requirements needed when building only libraries?
Date
Msg-id 78e3d08ec899af4335808472cc634c5dcdc64017.camel@cybertec.at
Whole thread Raw
In response to Are compression requirements needed when building only libraries?  (Uilian Ries <uilianries@gmail.com>)
Responses Re: Are compression requirements needed when building only libraries?
List 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 by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Pgbackrest changing RepoServer to new one
Next
From: Uilian Ries
Date:
Subject: Re: Are compression requirements needed when building only libraries?