Обсуждение: Postgresql13-devel fails to install on centos 7

Поиск
Список
Период
Сортировка

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.

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 <hemilruparel2002@gmail.com> 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.

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

Вложения

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, <devrim@gunduz.org> 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