Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)
Date: 2021-06-28 15:13:26
Message-ID: CAECtzeV02bC8852u1j4CjXza-OYvHwS_M9-fZDi2y99hhFHAGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Guillaume Lelarge 2021-06-28 15:21:24 Re: Missing dependencies for PostGIS (CentOS 7 / PostgreSQL 9.6 / PostGIS 2.3)
Previous Message Spyridon-Dimitrios Agathos 2021-06-17 05:36:56 Re: postgresql12-devel and postgresql12-llvmjit incompatible on CentOS8