public inbox for [email protected]  
help / color / mirror / Atom feed
From: Anton Shepelev <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: Cannot turn track_counts on
Date: Fri, 18 Apr 2025 01:25:57 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Adrian Klaver to Anton Shepelev:

> The below does not look like a Postgres message to me.
>
> > You need to install postgresql-server-dev-NN for
> > building a server-side extension or libpq-dev for
> > building a client-side application.

Yet that is what we get for `pg_config --version' on the
affected system.  A nearly identical error message seems to
come up while installing psycopg2 -- a Python library for
Postgres, e.g.:

   <https://stackoverflow.com/q/28253681/2862241;
   <https://www.matheusmello.io/posts/python-you-need-to-install-postgresql-server-dev-x-y-for-building-...;

I have not the slightest idea why pg_config should print
this message, unless it is not a genuine pg_config.  I will
be checking its binary against the one that works as expected
on our reference system.

> How was this Postgres instance installed or built?

Installed from Astra Linux's native repository:

   ant@xx:~$ apt list postgresql-11
   Listing... Done
   postgresql-11/stable,stable,now 1:11.21-astra.se6+ci1 amd64 [installed]

> > The version() SQL function returns:
> >
> >   PostgreSQL 11.21 (Debian 1:11.21-astra.se6+ci1)
> >   on x86_64-pc-linux-gnu,
> >   compiled by gcc (AstraLinuxSE 8.3.0-6) 8.3.0, 64-bit
>
> Not seeing how the above is matching up with:
>
> https://en.wikipedia.org/wiki/Astra_Linux

Do you mean 8.3.0-6?  It looks like the GCC version. Our
Astra is 1.7.5:

   ant@xx:~$ cat /etc/issue
   Astra Linux 1.7.5 \n \l

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments






view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Cannot turn track_counts on
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox