[postgis-devel] create extension failed with undefined symbol

梁博(18043625) 18043625 at cnsuning.com
Thu Jun 27 01:54:07 PDT 2019


Dear All,

I'm trying to create postgis extension with version2.5.2,and then the following error occured.
app_db=# create extension postgis;
ERROR:  could not load library "/usr/pgsql-10/lib/rtpostgis-2.5.so": /usr/gdal23/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction
app_db=# 

I've installed the following rpm from site:https://yum.postgresql.org/10/redhat/rhel-7.3-x86_64/ 
proj52-5.2.0-1.rhel7.x86_64.rpm
gdal23-libs-2.3.2-7.rhel7.x86_64.rpm
gdal23-2.3.2-7.rhel7.x86_64.rpm
gdal23-debuginfo-2.3.2-7.rhel7.x86_64.rpm
postgis25_10-2.5.2-3.rhel7.x86_64.rpm
postgis25_10-debuginfo-2.5.2-3.rhel7.x86_64.rpm
postgis25_10-devel-2.5.2-3.rhel7.x86_64.rpm
postgis25_10-client-2.5.2-3.rhel7.x86_64.rpm

I took the strace when the error occured<strace_create_extesion_postgis2.5.2.log>

My Environment:
Postgres Version: PostgreSQL 10.7 64-bit
Platform Version:CentOS Linux release 7.3.1611 (Core)

PS:When I use 2.5.1 with the following rpm, the extension can be successfully created.
proj-4.8.0-4.el7.x86_64.rpm
gdal-libs-1.11.4-12.rhel7.x86_64.rpm
gdal-1.11.4-12.rhel7.x86_64.rpm
gdal-debuginfo-1.11.4-12.rhel7.x86_64.rpm
postgis25_10-2.5.1-1.rhel7.x86_64.rpm
postgis25_10-debuginfo-2.5.1-1.rhel7.x86_64.rpm
postgis25_10-devel-2.5.1-1.rhel7.x86_64.rpm
postgis25_10-client-2.5.1-1.rhel7.x86_64.rpm

I am looking forward for your reply.
 
Best Regards,
LIANGBO



LIANGBO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20190627/b0622e20/attachment.html>


More information about the postgis-devel mailing list