Re: Problem linking with Release library

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Problem linking with Release library
Date: 2026-05-13 06:23:21
Message-ID: CA+FnnTxsZ0X7uR9czLEt6RGUo1fqNO+ecwCCEZzH61tTb01cfA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Tue, May 12, 2026 at 6:04 PM David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> On Tuesday, May 12, 2026, Igor Korot <ikorot01(at)gmail(dot)com> wrote:
>>
>>
>> So then I thought about creating MSVC project for building libpq as a dependency. 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=postgresql.git;a=commit;h=1301c80b2167feb658a738fa4ceb1c23d0991e23
>
> You seem to have put yourself into cutting edge PostgreSQL territory while remaining firmly old-school on the OS side of things…not usually a good place to find oneself.
>
> My LLM guided understanding is your likely 9.6 tool path was removed in favor of meson back in 2023. But meson itself is still working out the rough 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 running 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 choice for assistance. For something like this they can be very helpful with little downside.
>
> David J.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2026-05-14 08:38:55 Re: Problem linking with Release library
Previous Message Igor Korot 2026-05-13 06:06:14 Re: Problem linking with Release library