Postgresql13-devel fails to install on centos 7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Postgresql13-devel fails to install on centos 7

Hemil Ruparel
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:
$ 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.
Reply | Threaded
Open this post in threaded view
|

Re: Postgresql13-devel fails to install on centos 7

Hemil Ruparel
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 <[hidden email]> wrote:
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:
$ 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.
Reply | Threaded
Open this post in threaded view
|

Re: Postgresql13-devel fails to install on centos 7

Devrim GÜNDÜZ

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

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Postgresql13-devel fails to install on centos 7

Hemil Ruparel
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, <[hidden email]> wrote:

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