Unable to create postgis extension on CentOS7 when using pg11 andnewest postgis 2.5 (postgis25_11-2.5.2-2.rhel7.x86_64) due to undefinedsymbol OGR_GT_Flatten - Mailing list pgsql-bugs

From Sasa Vilic
Subject Unable to create postgis extension on CentOS7 when using pg11 andnewest postgis 2.5 (postgis25_11-2.5.2-2.rhel7.x86_64) due to undefinedsymbol OGR_GT_Flatten
Date
Msg-id CAOJhpYdkPvB6zqTC16nE-_jx9uh-PiL8MrsLky92__nBLuWCBw@mail.gmail.com
Whole thread Raw
List 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

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15838: [contrib] vacuumlo: schema variable checked for NULL three times
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #15838: [contrib] vacuumlo: schema variable checked for NULLthree times