pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: aryohrling@gmail.com
Subject: BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM
Date: Thu, 21 Oct 2021 17:34:25 +0000
Message-ID: <17242-b113d7b39b997c2f@postgresql.org> (raw)

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.



Message-ID: <17242-b113d7b39b997c2f@postgresql.org>
Permalink:  ../17242-b113d7b39b997c2f@postgresql.org/
Also on:    postgresql.org/message-id/17242-b113d7b39b997c2f@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, aryohrling@gmail.com
  Subject: Re: BUG #17242: Postgis 2.5 fails to install and fails to load due to broken gdal32-libs RPM
  In-Reply-To: <17242-b113d7b39b997c2f@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox