From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | aryohrling(at)gmail(dot)com |
Subject: | BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM |
Date: | 2021-10-21 17:34:25 |
Message-ID: | 17242-b113d7b39b997c2f@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17242
Logged by: Adam Yohrling
Email address: aryohrling(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Katz | 2021-10-21 17:53:53 | I keep getting an error during installation of Npgsql |
Previous Message | Tom Lane | 2021-10-21 13:41:00 | Re: BUG #17240: <timestamptz> at time zone ... ; wrong result |