Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
Date
Msg-id 2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com
Whole thread Raw
In response to Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2  (Hasan Marzooq <engr.naqvi@gmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Dave Cramer
Date:
Subject: Re: a very naive question about table names in Postgres
Next
From: Magnus Hagander
Date:
Subject: Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2