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 26b0e40114126465bfd1008f4a7300349c235bae.camel@cybertec.at
Whole thread Raw
In response to Are compression requirements needed when building only libraries?  (Uilian Ries <uilianries@gmail.com>)
List pgsql-general
On Thu, 2025-10-09 at 16:58 +0200, Uilian Ries wrote:
> > My PostgreSQL is built with support for all these libraries, and I find that my libraries are linked with "libz"
>
> Which libraries? libpgtypes, libpq, libecpg, libecpg_compat?

libpq, libecpg and libecpg_compat are linked with libz.so.1, libpgtypes isn't.

> > How did you configure and build PostgreSQL?
>
> I'm using Meson through the Conan package manager.
>
> You can find my full build log and ldd commands outputs attached.

That shows that you have configured PostgreSQL with support for zlib,
lz4 and zstd.  No idea why the libraries are not linked with libz.so.

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Roberto Nunnari
Date:
Subject: High latency and profiling
Next
From: Laurenz Albe
Date:
Subject: Re: High latency and profiling