Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Hasan Marzooq <engr(dot)naqvi(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
Date: 2022-01-01 16:57:53
Message-ID: CABUevEw4taPkMO6pxWzFTxOCoKTnK8ZccrtJnXgEEYUZYS+2LQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 31, 2021 at 3:32 AM Hasan Marzooq <engr(dot)naqvi(at)gmail(dot)com> wrote:
>
> Hi.
> I tried "yum install centos-release-scl-rh" before but it gives the below error.
> ------
> # yum install centos-release-scl-rh
> Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
> 213 packages excluded due to repository priority protections
> No package centos-release-scl-rh available.
> Error: Nothing to do
> --------
>
> Postgres 9.6 on this machine (Amazon Linux 2) is installed via PGDG repo, so I tried installing Postgres 13 as well, and I can see it has installed but only one more package I need that is "postgresql13-devel.x86_64" which needs another dependency " llvm-toolset-7-clang >= 4.0.1" that is not available from the same repo.

I don't believe 9.6 was supported either, but it may have worked "by chance".

The llvm dependency comes from the JIT functionality, which was added
in PostgreSQL 11, so it not being a dependency in an older version
than that makes perfect sense.

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ourdiaspora 2022-01-02 12:23:07 Visibility of data from table inherits function
Previous Message Adrian Klaver 2022-01-01 16:41:39 Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2