Re: Identifying build options

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Identifying build options
Date: 2026-07-11 20:12:03
Message-ID: 537d0f50ebc62b672be15d45f4eda83b8d837aa7.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2026-07-10 at 23:22 -0500, Igor Korot wrote:
> Do I understand correctly that I can use "pg_config --cflags" and
> "pg_config --libs"
> as input to build my program that links with libpq?

No - that is for building the server (or server code like extensions).

Instructions for building client code are at
https://www.postgresql.org/docs/current/libpq-build.html

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2026-07-11 20:31:57 Re: Identifying build options
Previous Message Igor Korot 2026-07-11 04:26:46 Re: Identifying build options