Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3) - Mailing list pgsql-pkg-yum

From Guillaume Lelarge
Subject Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)
Date
Msg-id CAECtzeV02bC8852u1j4CjXza-OYvHwS_M9-fZDi2y99hhFHAGg@mail.gmail.com
Whole thread Raw
Responses Re: Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-pkg-yum
Hi,

I've installed CentOS 7 from CentOS-7-x86_64-Minimal-2009.iso. And then I did:

# yum -y install epel-release
# yum update
# yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
# yum install -y postgresql96-server
# yum install -y postgresql96-contrib
# yum update
# yum install postgis23_96

And I got:

[...]
---> Package postgis23_96.x86_64 0:2.3.7-1.rhel7 will be installed
--> Processing Dependency: proj49 for package: postgis23_96-2.3.7-1.rhel7.x86_64
--> Processing Dependency: libproj.so.12()(64bit) for package: postgis23_96-2.3.7-1.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgis23_96-2.3.7-1.rhel7.x86_64 (pgdg96)
           Requires: proj49
Error: Package: postgis23_96-2.3.7-1.rhel7.x86_64 (pgdg96)
           Requires: libproj.so.12()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I'm a bit lost here. I have some proj packages but installing the main one didn't do me much good.

# yum search proj | grep "^proj"
proj.x86_64 : Cartographic projection software (PROJ.4)
proj-devel.x86_64 : Development files for PROJ.4
proj-epsg.x86_64 : EPSG dataset for PROJ.4
proj-nad.x86_64 : US and Canadian datum shift grids for PROJ.4
proj-static.x86_64 : Development files for PROJ.4
proj62.x86_64 : Cartographic projection software (PROJ)
proj62-debuginfo.x86_64 : Debug information for package proj62
proj62-devel.x86_64 : Development files for PROJ
proj62-static.x86_64 : Development files for PROJ
proj63.x86_64 : Cartographic projection software (PROJ)
[...]

Any idea on how to fix this? I'm pretty sure I forgot something to do but can't pinpoint what.

Thanks.


--
Guillaume.

pgsql-pkg-yum by date:

Previous
From: Spyridon-Dimitrios Agathos
Date:
Subject: Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8
Next
From: Guillaume Lelarge
Date:
Subject: Re: Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)