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 1v6w3n-00CCd2-Tm for pgsql-general@arkaria.postgresql.org; Thu, 09 Oct 2025 19:12:19 +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 1v6w3e-0087zY-Px for pgsql-general@arkaria.postgresql.org; Thu, 09 Oct 2025 19:12:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v6w3e-0087zQ-EP for pgsql-general@lists.postgresql.org; Thu, 09 Oct 2025 19:12:11 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v6w3d-001Hqn-0f for pgsql-general@lists.postgresql.org; Thu, 09 Oct 2025 19:12:11 +0000 Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-afcb7ae6ed0so203879266b.3 for ; Thu, 09 Oct 2025 12:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1760037128; x=1760641928; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=q006QG8J39c2cx1+wAq4FmmFryXhvuO6XsRDGuq5TBY=; b=GIKnz1wkKUccjgCp7QSJ3NMdfbI4NvyjTw1oHAjJwsyI/xZSU1mb5oa3fZemDsB0i0 Ygj81ODP7O7wb2OFy7Cmbjy/3WjzpF1oIlZ6sLqPHuTqnCnXtMls+y4rmYH4Ms7LLy+0 c8h5Zls0pNIhVKXdvvduELrngVgrGP8ezrT9RKHwgIUZWgwGppUUIPQ6CoE2bRJHQGR7 IZxct8leV3AXgXdE8WwNFQvFtGF7dfRSyWKmm53o0UF2izpvjBeQSToZ1QJLSrPtFs3N me3Zi8F4H9SyjfJ2P2k0uG3R+ZL5DTa7TdI9p599lGVqe3pF2Oyr0AZCPNKKMVOiFkPO G3ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760037128; x=1760641928; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=q006QG8J39c2cx1+wAq4FmmFryXhvuO6XsRDGuq5TBY=; b=qgGhRXClszRPEviweqNNbv+6Kj8V/MRS/rtKT6nrc1diGD6cbPFTkuAQux2Bn7hshd 8odcJB46YgUgjMTAdkU3gBMI/bG5Dxt+BtegSHJtsToC0iyhF2u3MIKixfHjhPqd6Hls gJU9eYe7VLirN9pDP+jIByHIrjwjXpTbTAqyIHVglEoIk5a/96py+Zy18LrDTxcn5seS 7G0QXPXP7tkVTCe0I1oW79AnEdJ/1f+XJ7u1kKhQ9CgZC83E0T0c/tIGXQfjpsbR7evZ ZUjIlmjZQx3QyP5VNItYDALJn/O9ze4MwmJZSeOCXqnKT93E+H3CuRz+rcX7XhUsBgPN cnzw== X-Gm-Message-State: AOJu0YwYwilazQPiBgO3eXK1gTeaXSdXj+iYkFuUybUIVYp7bcyclbSU fN7Wl3Up445BJbTGn2Fbe5RC37+L+iTS8DgdiViTUF/Drx05hUhBGI0G8ir/rhsfZ2O0nOUr6YJ T6j7BJkAihUWC X-Gm-Gg: ASbGncvDKIqt8HDkCbR9+2w1vevdfGpQJiHzkqBDhgCYVmNLaKy9KEIilHOCBQlSUsS VSeiH3Z2eF3c2FbG4sexKEQpLgoQ0Jes7vAispYN9imDa/cqjPqGMFon3OQpt0u2qz23S/Z0jEn qp7VXIzbZFI6xQoh227uojQXfM3jcqbohIYPgJHefBgbD0kCbUPsO7zH4xs5TkgqyIuiSpdlLve 4G9Xee81QD7BesaUmdosrSr2cUUNCvXIqOdRBqsoiWD7EIw0Pf1znVgIHHr8+uugvUinEEG4t+3 qa9VH8086LtAS0HgcVotveT+H5xeWDszedPRinY6YdFMQoyynHu02y0CfEE/SivHAbh0heFCGqY Viqj+e2pswWXjGCXpRHjkbf8LtXwGxmxWuCFO8JtuiBLwgQ4+Ec6KOYUj7IiK9TBlGUTjkoU5/m GwnAY= X-Google-Smtp-Source: AGHT+IGX+MJyIypJIL1Yv7OO5l4Ad5kooGAtKft2+Me/SZZS0J+GWWqh53AxjDMrT3EfD7FlOoCqNA== X-Received: by 2002:a17:907:1c15:b0:b46:7c17:ebf5 with SMTP id a640c23a62f3a-b50ace225bbmr1008067266b.62.1760037128191; Thu, 09 Oct 2025 12:12:08 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:270:b3a7:5d5a:5d5c:3780:cfe0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b55d5cadb18sm40666166b.3.2025.10.09.12.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Oct 2025 12:12:07 -0700 (PDT) Message-ID: <26b0e40114126465bfd1008f4a7300349c235bae.camel@cybertec.at> Subject: Re: Are compression requirements needed when building only libraries? From: Laurenz Albe To: Uilian Ries Cc: pgsql-general@lists.postgresql.org Date: Thu, 09 Oct 2025 21:12:07 +0200 In-Reply-To: References: <78e3d08ec899af4335808472cc634c5dcdc64017.camel@cybertec.at> 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 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" >=20 > 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? >=20 > I'm using Meson through the Conan package manager. >=20 > 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