Postgresql13-devel fails to install on centos 7
I am trying to install postgres13-devel on a centos 7 server. But I am
getting this error message:
Error: Package: postgresql13-devel-13.1-1PGDG.rhel7.x86_64 (pgdg13)
Requires: llvm5.0-devel >= 5.0
After a bit of googling, and following these instructions
<https://stackoverflow.com/questions/44219158/how-to-install-clang-and-llvm-3-9-on-centos-7>
:
$ sudo yum install centos-release-scl
$ sudo yum install llvm-toolset-7
$ scl enable llvm-toolset-7 bash
But I am still getting the same error message.
Had to run this command:
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install llvm5.0-devel
And then it worked :)
On Wed, Nov 18, 2020 at 1:26 PM Hemil Ruparel <hemilruparel2002@gmail.com>
wrote:
Show quoted text
I am trying to install postgres13-devel on a centos 7 server. But I am
getting this error message:
Error: Package: postgresql13-devel-13.1-1PGDG.rhel7.x86_64 (pgdg13)
Requires: llvm5.0-devel >= 5.0After a bit of googling, and following these instructions
<https://stackoverflow.com/questions/44219158/how-to-install-clang-and-llvm-3-9-on-centos-7>
:$ sudo yum install centos-release-scl
$ sudo yum install llvm-toolset-7
$ scl enable llvm-toolset-7 bashBut I am still getting the same error message.
Hi,
On Wed, 2020-11-18 at 13:45 +0530, Hemil Ruparel wrote:
Had to run this command:
yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install llvm5.0-develAnd then it worked :)
Updated website to clarify that EPEL is needed for -devel RPMs as well:
https://yum.postgresql.org/news/devel-rpms-require-a-new-repository/
Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Thanks a lot. I really hope it helps newbies like myself save a bunch of
time
On Wed 18 Nov, 2020, 2:50 PM Devrim Gündüz, <devrim@gunduz.org> wrote:
Show quoted text
Hi,
On Wed, 2020-11-18 at 13:45 +0530, Hemil Ruparel wrote:
Had to run this command:
yum install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install llvm5.0-develAnd then it worked :)
Updated website to clarify that EPEL is needed for -devel RPMs as well:
https://yum.postgresql.org/news/devel-rpms-require-a-new-repository/
Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR