Unable to create postgis extension on CentOS7 when using pg11 and newest postgis 2.5 (postgis25_11-2.5.2-2.rhel7.x86_64) due to undefined symbol OGR_GT_Flatten

From: Sasa Vilic <sasavilic(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Unable to create postgis extension on CentOS7 when using pg11 and newest postgis 2.5 (postgis25_11-2.5.2-2.rhel7.x86_64) due to undefined symbol OGR_GT_Flatten
Date: 2019-06-07 07:22:30
Message-ID: CAOJhpYdkPvB6zqTC16nE-_jx9uh-PiL8MrsLky92__nBLuWCBw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

we noticed that after upgrading postgis25 to newest package
*postgis25_11-2.5.2-2.rhel7.x86_64* we are unable to create postgis
extension due to following error:

ERROR: could not load library "/usr/pgsql-11/lib/rtpostgis-2.5.so":
/usr/pgsql-11/lib/rtpostgis-2.5.so: undefined symbol: OGR_GT_Flatten

After downgrading to postgis25_11-2.5.2-1.rhel7.x86_64, we were able to
create postgis extension.

Postgres Version: PostgreSQL 11.3 on x86_64-pc-linux-gnu, compiled by gcc
(GCC) 4.8.5 20150623 (Red Hat 4.8.5-36), 64-bit
OS: CentOS 7, Kernel version 3.10.0-957.12.2.el7.x86_64

# yum list installed | grep 'geos\|geom\|gdal'
gdal-libs.x86_64 1.11.4-12.rhel7
@pgdg10
gdal23-libs.x86_64 2.3.2-7.rhel7
@pgdg10
geos37.x86_64 3.7.1-1.rhel7
@pgdg10

Kind Regards
Sasa Vilic

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2019-06-07 09:21:07 Re: BUG #15838: [contrib] vacuumlo: schema variable checked for NULL three times
Previous Message PG Bug reporting form 2019-06-07 06:15:30 BUG #15838: [contrib] vacuumlo: schema variable checked for NULL three times