Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v6rx8-00B1Ug-I9 for pgsql-general@arkaria.postgresql.org; Thu, 09 Oct 2025 14:49:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v6rx6-005YsE-C2 for pgsql-general@arkaria.postgresql.org; Thu, 09 Oct 2025 14:49:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v6rx6-005Yr1-0E for pgsql-general@lists.postgresql.org; Thu, 09 Oct 2025 14:49:08 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v6rx4-000s77-0x for pgsql-general@lists.postgresql.org; Thu, 09 Oct 2025 14:49:08 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-b3ee18913c0so163698966b.3 for ; Thu, 09 Oct 2025 07:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1760021344; x=1760626144; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=s5z5Cv+CztBVidILOYJaxgWq8qYgxABBTCE+8QAA3Xg=; b=Z/QvJyTgvXRG3ln5KpKDO1XZL0An0To+G5MEx/0uwYKYnQLGRJ70/l7fGeNoHqORFA 3F83t4OvNMhew15bLQ6hQt6KqvVN38sDAHLZ71U6UbafwmyjGeMQHxaFdg/wxOftc5AK KMKJxjcNb55St3NZxkHIJH7/Ig26r0YWmlRix0cH4MPG7fe01x9I/bQf3qYPcgzkEbxI 5cUTnUEG2EHePQoO5UDjxE88yAmtgt1uO1VeEshOGTeIMz3wD3r5Svk9IC+0y9vx4bFO NkoGFZUl+HsAb1onGv7sCvBDDERnCWuGcL23o5UFuiuIES+EAdx2dnC0DnCxdeZb+TQ+ LpIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760021344; x=1760626144; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=s5z5Cv+CztBVidILOYJaxgWq8qYgxABBTCE+8QAA3Xg=; b=DcK7e4E68cq8RDO/dHK8g64AwH1GMMpyqdMAM2SESYsn46LwLtuI0veMzSkbYJCSmR ORxcoUkoJiB3nAJRvwN8V4L6ofMM1yxyCCQsV/Dg77exu2VlACxM4iWCLtCfoVi9UC41 VcqokG8LUHVKgpZRYErhvQ7dFxYJJwOP3tmxhlnFPa7+aQdSmOLTF/56Ma8hSzSzZ0zQ LDqqqkEzy2+k3aCWKtwugHzuSL/ipKgkqfgnMxs1SH1B449/RL9007uozV8iBWowTsjT FHdLkUMzaaOm0SjFR5Bh0e2u/J87kOesZ00C1GYKD+POgY48F1U4wL1iF2DBrqrUW9ck LBNg== X-Forwarded-Encrypted: i=1; AJvYcCWuNmXynoRKROT6kGaftX9jXQUDjB7Hu06s1OfJ02dPZDS2/xk2gbiTVtkEMHCd5yHvDvN2EmbEhSQWU70H@lists.postgresql.org X-Gm-Message-State: AOJu0YzQnS7lEBwUgKSKPbgE2LDMdlcpQVeiGrGzAH8o2L2t2rH8aWvz wXHhdvBORp+7sPK41AgQgyQhDRT7juH2AnTc3umRJ74fBWVFzM3K5npHdwRtpIfRc2M= X-Gm-Gg: ASbGncvH3+FPfI7gZ0zrVNnUsBb/5xv5dnyz+ynvY740VaGDq910NtMv6/+VV6QfXcK bAcZD7/m9hsMGj1H5eOiejAmi5PrctozXoAD7EVrUK+j3zqZR8RKWyr+zYi8PPXOjIyp92jRMQn IxdrvlRcxI7idzKhXNfLorTuYSiI7Ros1zEB4a77kx/5uLPuligN1QSBeKTgoQTd2mx+anegGc8 Fq7TjKoNZeabfxGIaRD3vhmNAKHSGgwz4gDIikWP+xZTZIOoBfvv8QXaC8FzSa12fPTIFoegtJW aUzfzstR7WA3A10qqNaCKz4SKOMNa6nulikZEfUrCNBuFkwfmQ016J/6Rl9VeBczDnviFSllkoa wPchEBgrnUHNF9rhgOWna8NNuFZQzmbm4OyBBV/IP+vplX0su71bg4XrLG2m9BJ+1utNMPoNgBC SB+T2EzYbttotB X-Google-Smtp-Source: AGHT+IEq23dxqY7fUpjDnkGrT3NG3RTNh7bQdYboBBAw3ZHi+N9NulvEkeQ8o3vIb5KfZ5dvPiG/3w== X-Received: by 2002:a17:907:c06:b0:b3e:ac8a:b1aa with SMTP id a640c23a62f3a-b50a6b9e6a4mr753587566b.0.1760021344391; Thu, 09 Oct 2025 07:49:04 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:70:3659:7f0f:9d98:ed03:ed27]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b4865a83770sm1923622866b.25.2025.10.09.07.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Oct 2025 07:49:03 -0700 (PDT) Message-ID: <78e3d08ec899af4335808472cc634c5dcdc64017.camel@cybertec.at> Subject: Re: Are compression requirements needed when building only libraries? From: Laurenz Albe To: Uilian Ries , pgsql-general@lists.postgresql.org Date: Thu, 09 Oct 2025 16:49:03 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2025-10-09 at 13:10 +0200, Uilian Ries wrote: > Greetings! >=20 > I'm building PostgreSQL 17.5 locally, on Ubuntu 22.04, and using a CPU ar= chitecture x86_64. >=20 > I noted the meson_options.txt file contains a few optional=C2=A0dependenc= ies, like > zstd, zlib, lz4,=C2=A0libxml, and libxslt, which mostly seem to be relate= d to compression. >=20 > However, even when I build all libraries using those options enabled, I c= an't see them > listed as a dependency of the libraries: >=20 > [...] > > So, my question is: Is it correct to affirm I don't need those dependenci= es when only > interested in building and consuming the libraries?=C2=A0 >=20 > 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 tha= t my libraries are linked with "libz", but not with the other compression libraries. How did you configure and build PostgreSQL? Yours, Laurenz Albe