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

Started by Sasa Vilicalmost 7 years ago1 messagesbugs
Jump to latest
#1Sasa Vilic
sasavilic@gmail.com

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