From: | Hasan Marzooq <engr(dot)naqvi(at)gmail(dot)com> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2 |
Date: | 2022-01-03 14:58:17 |
Message-ID: | CANvhf8JE4W8o0=tfT8-ptnewQUNOfaR9zkER2Q-Eio=aFUb-hA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
This problem posted in OP is resolved. I did some workaround. I copied the
required "pg_config*.h" from another machine where PG13 was installed via
amazon linux 2 repos.
> I don't believe 9.6 was supported either, but it may have worked "by
chance".
I'm not sure whether it worked "by chance" or otherwise, because it looks
like Amazon Linux 2 is based on "RHEL 7" as per below:
Note the "ID_LIKE":
----
# cat /etc/*elease
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2 (Karoo)
----
And:
---
# rpm -E %{rhel}
7
----
Thanks!
On Sun, 2 Jan 2022 at 00:58, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> 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/
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-03 16:18:09 | Re: VACUUM FULL missing chunk number 0 for toast value |
Previous Message | Yi Sun | 2022-01-03 09:28:49 | VACUUM FULL missing chunk number 0 for toast value |