BUG #16721: ERROR: could not load library "/usr/pgsql-11/lib/rtpostgis-2.5.so": /usr/gdal32/lib/libgdal.so.28:

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: cesarjorgemartinez(at)gmail(dot)com
Subject: BUG #16721: ERROR: could not load library "/usr/pgsql-11/lib/rtpostgis-2.5.so": /usr/gdal32/lib/libgdal.so.28:
Date: 2020-11-16 16:51:03
Message-ID: 16721-67f88d8f0ac844f3@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: 16721
Logged by: Cesar Jorge Martínez
Email address: cesarjorgemartinez(at)gmail(dot)com
PostgreSQL version: 11.10
Operating system: CentOS/RedHat 7.9
Description:

Hi,

We failed when upgrade 11.9 to 11.10 with postgis:

db=# SELECT version();
version

----------------------------------------------------------------------------------------------------------
PostgreSQL 11.10 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5
20150623 (Red Hat 4.8.5-39), 64-bit
(1 fila)

db=# SELECT postgis_full_version();
ERROR: could not load library "/usr/pgsql-11/lib/rtpostgis-2.5.so":
/usr/gdal32/lib/libgdal.so.28: undefined symbol: GTIFGetGCSInfoEx
CONTEXTO: SQL statement "SELECT public.postgis_gdal_version()"
PL/pgSQL function postgis_full_version() line 34 at SQL statement

rpm -qa|grep gdal
gdal-1.11.4-12.rhel7.x86_64
gdal31-libs-3.1.2-1.rhel7.x86_64
gdal30-libs-3.0.4-4.rhel7.x86_64
gdal32-libs-3.2.0-1.rhel7.x86_64
gdal-python-1.11.4-12.rhel7.x86_64
gdal-libs-1.11.4-12.rhel7.x86_64

rpm -qa|grep postgis
postgis25_11-client-2.5.5-2.rhel7.x86_64
postgis25_11-2.5.5-2.rhel7.x86_64
postgis25_11-utils-2.5.5-2.rhel7.x86_64
postgis25_11-gui-2.5.5-2.rhel7.x86_64

How to workaround or fix it?

Regards,
Cesar Jorge

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-11-16 18:15:20 BUG #16722: PG hanging on COPY when table has close to 2^32 toasts in the table.
Previous Message Dmitry Marakasov 2020-11-16 00:45:29 Re: BUG #16696: Backend crash in llvmjit