Hi Devrim,
Updating the packages to gdal23-libs-2.3.2-8 and postgis24_96-2.4.7-4 solved the problem with the missing
library/ldconfig.
The issue with the undefined symbol still exists with current packages on our systems:
select PostGIS_Full_Version();
FEHLER: konnte Bibliothek »/usr/pgsql-9.6/lib/rtpostgis-2.4.so« nicht laden: /usr/gdal23/lib/libgdal.so.20: undefined
symbol:ecs_SetReportErrorFunction
KONTEXT: SQL-Anweisung »SELECT public.postgis_gdal_version()«
Regards,
Christopher Lorenz
-----Ursprüngliche Nachricht-----
Von: Devrim Gündüz <devrim@gunduz.org>
Gesendet: Donnerstag, 27. Juni 2019 20:34
An: Lorenz, Christopher <Christopher.Lorenz@ZIT-BB.Brandenburg.de>; 'pgsql-pkg-yum@lists.postgresql.org'
<pgsql-pkg-yum@lists.postgresql.org>
Betreff: Re: RHEL 7: problem with gdal 2.3 postgresql 9.6/10 and postgis 2.4 -
Hi,
On Tue, 2019-06-25 at 09:34 +0000, Lorenz, Christopher wrote:
> since we have upgrade from postgis 2.4.6 to 2.4.7-3 of PostgreSQL 9.6. on our
> RHEL7 enviroment we have trouble with the gdal library. There migth be a bug
> or something. The Problem also appears with PostgreSQL 10.
>
> If we call Postgis_Full_Version() we get the folowing error:
>
> FEHLER: konnte Bibliothek »/usr/pgsql-9.6/lib/rtpostgis-2.4.so« nicht laden:
> libgdal.so.20: Kann die Shared-Object-Datei nicht öffnen: Datei oder
> Verzeichnis nicht gefunden
> (english: can't load libgdal.so.20 - File not found)
I pushed gdal23 2.3.2-8 package to repositories, which fixes this issue.
Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR