BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM
Date
Msg-id 17242-b113d7b39b997c2f@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17242
Logged by:          Adam Yohrling
Email address:      aryohrling@gmail.com
PostgreSQL version: 11.12
Operating system:   CentOS 7.9/RHEL 7.9
Description:

The latest RPM of gdal32-libs is broken. It installs libraries to
/usr/gdal33 (incorrect) while the ld.so.conf.d file points to /usr/gdal32
(correct). Postgis fails to load with the following error when latest
gdal32-libs-3.2.3-3 is installed:

```
ERROR:  could not load library "/usr/pgsql-11/lib/rtpostgis-2.5.so":
libgdal.so.28: cannot open shared object file: No such file or directory
ERROR:  extension "postgis" does not exist
```

Even linking to the `/usr/gdal33/lib` location does not work. It seems the
RPM build is completely broken. Current workaround is to install
gdal-libs-3.2.3-2 for now which is working correctly.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17240: at time zone ... ; wrong result
Next
From: Richard Katz
Date:
Subject: I keep getting an error during installation of Npgsql