[postgis-devel] PostGIS installation dependencies
Regina Obe
lr at pcorp.us
Fri Aug 27 13:14:12 PDT 2021
Oops I forgot that for older, Devrim has a custom repo.
Try adding
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-x86_64/
That has all the dependencies needed for Red Hat 7
Not tested but something like this might work
sudo tee /etc/yum.repos.d/pgdg.repo<<EOF
[pgdg-13]
name=PostgreSQL for 13 RHEL/CentOS 7 - x86_64
baseurl=https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-7-x86_64/
enabled=1
gpgcheck=0
[pgdg-depends]
name=PostgreSQL RHEL/CentOS 7 - x86_64 common
baseurl=https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-x86_64/
enabled=1
gpgcheck=0
EOF
Then do your yum update yum install as usual.
From: Regina Obe [mailto:lr at pcorp.us]
Sent: Friday, August 27, 2021 12:17 PM
To: 'PostGIS Development Discussion' <postgis-devel at lists.osgeo.org>
Subject: RE: [postgis-devel] PostGIS installation dependencies
I think you are missing epel is my guess.
Checkout these instructions:
https://people.planetpostgresql.org/devrim/index.php?/archives/107-Installing-PostGIS-3.1-and-PostgreSQL-13-on-CentOS-8.html
I think the instructions are pretty much the same for RHEL but I haven’t tried on RHEL.
Thanks,
Regina
From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Nikhil Shetty
Sent: Friday, August 27, 2021 10:49 AM
To: postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org>
Subject: [postgis-devel] PostGIS installation dependencies
Hi Team,
We are installing PostgreSQL 13.4 and along with that we would like to have PostGIS3.1.
When installing PostGIS 3.1, we are getting dependency errors for a few packages.
--> Finished Dependency Resolution
Error: Package: postgis31_13-3.1.2-1.rhel7.x86_64 (/postgis31_13-3.1.2-1.rhel7.x86_64)
Requires: geos39 >= 3.9.1
Error: Package: postgis31_13-3.1.2-1.rhel7.x86_64 (/postgis31_13-3.1.2-1.rhel7.x86_64)
Requires: libgdal.so.28()(64bit)
Error: Package: postgis31_13-3.1.2-1.rhel7.x86_64 (/postgis31_13-3.1.2-1.rhel7.x86_64)
Requires: proj72 >= 7.2.1
Error: Package: postgis31_13-3.1.2-1.rhel7.x86_64 (/postgis31_13-3.1.2-1.rhel7.x86_64)
Requires: gdal32-libs >= 3.2.3
Error: Package: postgis31_13-3.1.2-1.rhel7.x86_64 (/postgis31_13-3.1.2-1.rhel7.x86_64)
Requires: libgeotiff16
Error: Package: postgis31_13-client-3.1.2-1.rhel7.x86_64 (/postgis31_13-client-3.1.2-1.rhel7.x86_64)
Requires: libgdal.so.28()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Operating System is OEL7.9
I tried creating rpm from source for geos-3.9.1 and installed the rpm but I got the same error as above
-0-nikhil_shetty at ms15q01nt-qujo18341101:~/rpmbuild/RPMS/x86_64 $ rpm -qa | grep geos
geos38-3.8.1-1.rhel7.x86_64
geos-debuginfo-3.9.1-1.el7.x86_64
geos-3.9.1-1.el7.x86_64
Is there anyway I can get these rpms directly from some official source?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210827/1e6da3eb/attachment.html>
More information about the postgis-devel
mailing list