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.96) (envelope-from ) id 1wN30Q-000XTF-1p for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2026 06:23:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wN30P-007vmk-0w for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2026 06:23:41 +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.96) (envelope-from ) id 1wN30O-007vmc-2v for pgsql-general@lists.postgresql.org; Wed, 13 May 2026 06:23:41 +0000 Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wN30M-00000000KKM-3VCp for pgsql-general@lists.postgresql.org; Wed, 13 May 2026 06:23:40 +0000 Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-7bf14e33f5bso58487277b3.1 for ; Tue, 12 May 2026 23:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778653418; cv=none; d=google.com; s=arc-20240605; b=Ejhi+zzteFXB5JkUbXbj6h9VR3juOY/KHWYj9RASdnrBbMe9/uFCvbbKacVnoDrohz wuujzHykwR8RLZVzHF0nYN5aQFYLFxiEdzxzfLA9/9C9bOXAJdXhQhxlf3CcbAP6vHAJ W+mI23DZNsiYXAFHndonxMU20JcCOiHZr8bmfrYiot4JRgPuQzN1NffthVl7F7wwTLXj /iNah9BcSxgaZOhUcDSoOGFgCogWD8+HECU0Nr6wr3vK5b2NJfinPQTjV5BU7kVvg6ze fZHoWLYV0Noij3BcwHBYylyCAbSWscAwi+2xAjdC0QDF2YXppEyUkj83BjSHVwQsfME3 id1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5NTzUNffqMH4ZLD+Rx2+oOX9rsyCtIv70MAbax6VfJo=; fh=ypUrjiKRU857X/TehdVIHgFEoY1X6eR6NfzQvV0w3s8=; b=W7VdurHkbHzwkXDWitNvOU+ZCUJFdL+ybji4PkaJUSiX/VxxZ1M7b0WaBqSm2P0iXA q9uwcRK3jar413COG7FSG6p2oPPe02Ieg0hmdh+tv2SqCM9PsX7/vibWK1ife3wPuRoR Q6R9NgiX35CKozwWgGGfSy8hEanQamdgOIGX1itqptssegi8/yRjX768xoU5cUzTxrd6 tgq5kPhEvKJ9uWJ0FC/S9/G08xEXuO7LuoJH2eHqzTTzTpj14+MjHU9cDMT+nZTL4TJt TkPrS3Qi0q+hyHCZzPgXvIMJZQ/CZZTOW4A0A+IioN9v5Ae90gxrgOQnQjUmfgC6oSOI krkg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778653418; x=1779258218; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5NTzUNffqMH4ZLD+Rx2+oOX9rsyCtIv70MAbax6VfJo=; b=b4PVAoiZyhhVvdkbH7IeaUKxW/bA9LgrR6h4Vk1cX2Ndm/P0Dgd2r50+Oc/+5DgBoV dhGLNpNhFxOF+OsXqUFZ2cL9hZhuzHisqeDVto3XthKqzCgIHP/G6SmPAQPCmtReH9TD Blcp3w1/gz5fpgdy+Fql2z3rdtB/1HT9PflHa9HCGtuWAqCEgl0UqIZDtQu6OP14cCt1 VYHeEM3TFMHxjsLSOVTOAyT2RODB59WcPdO9oGyf6WZPNH/hq0nDfFbbPeqaxMshYdxg 3a9vgLAe7Bd+zxhf6jqU5p7zmguEZN5e2av8raAykvv9MlsThwT8kc6AYZTb6poy+kEJ qrhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778653418; x=1779258218; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5NTzUNffqMH4ZLD+Rx2+oOX9rsyCtIv70MAbax6VfJo=; b=hw9oeeCeff+aeYzmiQdxrdrke7lofOIKC/D0yCIJPd3wbTjNWZG6z665uZxsBuEuz1 FhZiE4K7DKRGvDQvAS0W9Pz6up23n9NjYpMUMwzKO65f8Aa5ZXUswl4Z4Zb+QXCnNL5/ +hp8RO6eTVrYwJQguOH8vSIUx1McDRPpLKpPjcXaKq3HJnbx84/rqQy3fthCwkUwUXXD D+KmKN7owqg5InB2mOy5Nfmzb/N8dgKmCnyxKaFYMF7SlNJtnaN9FyAOu3gsruME1pRx 7Le+E4jhUKNJLWcsW2Kz19fHn/FbfRY5BGqtBmgWQ+pGwcqAGUou38v+yV4BbteuMDIM yGpw== X-Forwarded-Encrypted: i=1; AFNElJ/LNPzBugIKWb/agoIiGmOY3Ymu+duaDffL7zbl0YBFwUidVRjmYWDj4IeLGuVuaVQXt4RXCzZ5DVIa6vkq@lists.postgresql.org X-Gm-Message-State: AOJu0YwyJxAGcyOq4EoLyFv/yg11aq2Vdkt44u7eTcK8PYdxaS7XGdD5 BmwXIXnla9S6J3OFpa6EZy3oRmNmKHJOhRncfdjAFRAUCk1aAgfshsgLx6padYqNMWjA4iS6gCq NBWVeFNU2aUuS/hrT7mwxQd873U3OY5M= X-Gm-Gg: Acq92OGDzZQl9FPv/9MDhbHL2TSCNGgSx/yVYDxJPAWGF4nPM1FoF/Eb8x/n6HE9xIM tQY9lpG5Vcx6c9C+i3mCCODSz59zpRNSOoENQqFCKjWzJAeoznN5VLuincaWvLO4GE2Ia+HksKI itg79nYLHXXWRkiqzoW2Gz2TPQ3rrF5KpDd/C0k6d6nXIYalkrkYZ6eIYsUaPZbLttvoUpOfJ/R K4GLXTLYOOWsEjBkQqF+8UksQo01ymU1eW31j/Tmvrcrs14HbAS0ff1c9BZTiTU2BCYwSEKO8b/ 2wXVud3vT6qih8y9NEllx2CYUlEXa6/FC9R/e0x1ChgegPJ3li/i2Dj4JPTBiUhhBcrJ34s= X-Received: by 2002:a05:690c:385:b0:7ba:fdc5:17a3 with SMTP id 00721157ae682-7c6ac8a3cf0mr20351227b3.43.1778653418104; Tue, 12 May 2026 23:23:38 -0700 (PDT) MIME-Version: 1.0 References: <6b6752b9-1af1-4650-8125-06440fdc7ccd@aklaver.com> <7f1fdbad-0343-498d-9f15-69bc713915cc@aklaver.com> <0e96fd4d-a97e-4461-a92e-ed2d7c27d38c@aklaver.com> In-Reply-To: From: Igor Korot Date: Tue, 12 May 2026 23:23:21 -0700 X-Gm-Features: AVHnY4Ib08Sbu3EgaHkuMR3ybmak8rULFqhNT5FKpythPJre24TWfKiWh8eOgfI Message-ID: Subject: Re: Problem linking with Release library To: "David G. Johnston" Cc: Adrian Klaver , "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Tue, May 12, 2026 at 6:04=E2=80=AFPM David G. Johnston wrote: > > On Tuesday, May 12, 2026, Igor Korot wrote: >> >> >> So then I thought about creating MSVC project for building libpq as a de= pendency. All I need is to produce a basic default build of both Debug and = Release builds of libpq only. No server and no ther software needed. Prefer= to build version 17.4. > > > https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommit;h=3D130= 1c80b2167feb658a738fa4ceb1c23d0991e23 > > You seem to have put yourself into cutting edge PostgreSQL territory whil= e remaining firmly old-school on the OS side of things=E2=80=A6not usually = a good place to find oneself. > > My LLM guided understanding is your likely 9.6 tool path was removed in f= avor of meson back in 2023. But meson itself is still working out the roug= h edges for stuff like a defined target for a libpq-only build and install. I think CMake would be better. At the very least its cross-platform and its much more stable... But that's fine. Is there any official docs on how to build the library and what to install? Thank you. > > There is no guarantee or real attempt to keep modern supported versions r= unning on software obsoleted before they even came into existence. You may= or may not be able to finagle make/meson to do what you are attempting and= the desire to help is limited. You may wish to consult an LLM of your cho= ice for assistance. For something like this they can be very helpful with = little downside. > > David J. >