Re: Where can I find the pg_config binary in PostgreSQL 14?

From: Oskar Stenberg <oskar_stenberg(at)outlook(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Where can I find the pg_config binary in PostgreSQL 14?
Date: 2021-10-01 10:42:52
Message-ID: DB6PR03MB2968C5661344B8C18E32C70CF9AB9@DB6PR03MB2968.eurprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Never mind... I found it!

For anyone else that has the same problem:  It had been moved to
"/usr/pgsql-14/bin/pg_config"

Sorry for disturbing everyone with this... *Facepalm*

On Fri, 2021-10-01 at 12:12 +0200, Oskar Stenberg wrote:
> Hi!
>
> I'm developing an application with PostgreSQL as the database. But
> during the compilation I need to use pg_config to get the paths of
> the other PostgreSQL files. But since upgrading to PostgreSQL 14 I
> can't find it anymore. Earlier I got this binary from libpq-devel
> (I'm using fedora as my workstation and Rocky Linux/CentOS on the
> database server) but that package has been replaced by postgresql14-
> devel according to DNF. But from what I can see it doesn't contain
> the pg_config binary? It seems to contain some headers for it but not
> the actual binary. Has it been removed/moved on purpose from the new
> version? And if so where do I find this functionality now? Is there
> another way to get those paths in a simple manner? :)
>
>
> Thanks in advance!
>
> Best Regards
> Oskar

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2021-10-01 11:49:19 Re: Sysbench tests on PG12
Previous Message Oskar Stenberg 2021-10-01 10:12:07 Where can I find the pg_config binary in PostgreSQL 14?