BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM
BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM
От:
PG Bug reporting form <noreply@postgresql.org>
Дата:
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.