Postgresql13-devel fails to install on centos 7

Started by Hemil Ruparelover 5 years ago4 messagesgeneral
Jump to latest
#1Hemil Ruparel
hemilruparel2002@gmail.com

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&gt;
:

$ 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.

#2Hemil Ruparel
hemilruparel2002@gmail.com
In reply to: Hemil Ruparel (#1)
Re: Postgresql13-devel fails to install on centos 7

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.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&gt;
:

$ 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.

#3Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Hemil Ruparel (#2)
Re: Postgresql13-devel fails to install on centos 7

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-devel

And 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

#4Hemil Ruparel
hemilruparel2002@gmail.com
In reply to: Devrim GÜNDÜZ (#3)
Re: Postgresql13-devel fails to install on centos 7

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-devel

And 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