public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Uilian Ries <[email protected]>
To: [email protected]
Subject: Re: Are compression requirements needed when building only libraries?
Date: Thu, 09 Oct 2025 16:49:03 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAEvaW23OxaGd=2rTzE4-38WiN-=O_dGPLBB-ZEd61WoasWDq0Q@mail.gmail.com>
References: <CAEvaW23OxaGd=2rTzE4-38WiN-=O_dGPLBB-ZEd61WoasWDq0Q@mail.gmail.com>

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






view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Are compression requirements needed when building only libraries?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox