[postgis-devel] create extension failed with undefined symbol

Sandro Santilli strk at kbt.io
Thu Jun 27 08:51:28 PDT 2019


On Thu, Jun 27, 2019 at 04:54:07PM +0800, 梁博(18043625) wrote:
> 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

The above error comes from libgdal, any attempts to use that library
would give you the same error. Try gdalinfo for example.

> 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

I think you should report this issue to your red-hat distribution
packager, or build gdal/postgis yourself.

--strk;


More information about the postgis-devel mailing list