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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Hasan Marzooq <engr(dot)naqvi(at)gmail(dot)com>, 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-01 16:41:39
Message-ID: 2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2022-01-01 16:57:53 Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2
Previous Message Dave Cramer 2022-01-01 11:48:04 Re: a very naive question about table names in Postgres