From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hasan Marzooq <engr.naqvi@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
Date: Sat, 1 Jan 2022 08:41:39 -0800
Message-ID: <2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com> (raw)
In-Reply-To: <CANvhf8LhAbt4Ci=6fhTdJ9QT3uoW+PBp=aHk_BGSvGjTtccEHA@mail.gmail.com>
References: <CANvhf8Jzi_yB3a61X5x809Evm9TTr09ON92eVAHt3x-BrXBZ1g@mail.gmail.com>
<CABUevExZ4rVXihtyg3kqXETnpWgcTOVfrfxT19yoAJE7QB9qFw@mail.gmail.com>
<CANvhf8LhAbt4Ci=6fhTdJ9QT3uoW+PBp=aHk_BGSvGjTtccEHA@mail.gmail.com>
On 12/30/21 18:32, Hasan Marzooq 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.
>
> ---
> yum list installed | grep -i postgres
> postgresql13.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-contrib.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-libs.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-server.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql96.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-contrib.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-devel.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-libs.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-server.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> ---
Not sure if it will make a difference, but your 9.6 instance is using
the rhel6 repo and the 13 is using rhel7.
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, engr.naqvi@gmail.com, magnus@hagander.net
Subject: Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
In-Reply-To: <2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com>
References: <CANvhf8Jzi_yB3a61X5x809Evm9TTr09ON92eVAHt3x-BrXBZ1g@mail.gmail.com> <CABUevExZ4rVXihtyg3kqXETnpWgcTOVfrfxT19yoAJE7QB9qFw@mail.gmail.com> <CANvhf8LhAbt4Ci=6fhTdJ9QT3uoW+PBp=aHk_BGSvGjTtccEHA@mail.gmail.com> <2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox