When I try to install postgis33_15 on Rocky Linux 8, I end up with the following error
package postgis33_15-3.3.1-1.rhel8.x86_64 from pgdg15 requires gdal35-libs >= 3.5.2, but none of the providers can be installed
package postgis33_15-3.3.1-1.rhel8.x86_64 from pgdg15 requires libgdal.so.31()(64bit), but none of the providers can be installed
...
conflicting requests
- nothing provides libarmadillo.so.10()(64bit) needed by gdal35-libs-3.5.3-4.rhel8.x86_64 from pgdg-common
internet suggests to enable EPEL and crb, but it’s already done (CRB is showing up under name powertools)
sudo dnf repolist
repo id repo name
appstream Rocky Linux 8 - AppStream
baseos Rocky Linux 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
extras Rocky Linux 8 - Extras
pgdg-common PostgreSQL common RPMs for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg12 PostgreSQL 12 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg13 PostgreSQL 13 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg14 PostgreSQL 14 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg15 PostgreSQL 15 for RHEL / Rocky / AlmaLinux 8 - x86_64
pgdg16 PostgreSQL 16 for RHEL / Rocky / AlmaLinux 8 - x86_64
powertools Rocky Linux 8 - PowerTools
so now I wonder what am I missing 🙂 Any suggestions are appreciated!
2
Answers
Download ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.8.2023-11-14/Everything/x86_64/Packages/a/armadillo-10.8.2-1.el8.x86_64.rpm
Install
rpm -ivh armadillo-10.8.2-1.el8.x86_64.rpm
orrpm -Uvh --oldpackage armadillo-10.8.2-1.el8.x86_64.rpm
or wait for update from PostgreSQL repo
I also have the same problem. I am trying to install Rocky Linux 8, postgresql15, and postgis34_15. armadillo10 can be solved with the answer above.
However, the dependent hdf5 library poses an additional problem. gdal36-libs is linked to the latest version of hdf5, but armadillo10 is linked to the old version of hdf5, so gdal36 cannot be installed as a result.
It seems that armadillo was recently updated from version 10 to version 12 in epel 8.
https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/
(Modified date is 2024-01-03)
I think I have no choice but to build and install postgis from the source code or wait for the postgresql repo to be newly distributed.
Can someone please ask me to build it on postgresql repo? Or do you know how to ask for it?