postgis-installation

PostGIS extension undefined symbol: GEOSCoordSeq_getXY

只愿长相守 提交于 2020-03-04 23:03:48
问题 I am trying to create postgis 3.0 extension on postgresql12 on centos7 (both are installed using yum native rpms) yum install postgis30_12.x86_64 but i am getting different errors with GEOS. currently the error i am getting is postgres=# create extension postgis; ERROR: could not load library "/usr/pgsql-12/lib/postgis-3.so": /usr/pgsql-12/lib/postgis-3.so: undefined symbol: GEOSCoordSeq_getXY geos-config --version 3.8.0 回答1: The PostGIS binary you are using was built with a GEOS version that

PostGIS upgrade 2.2.1 -> 2.5.0 Database Import Errors

旧时模样 提交于 2020-01-04 14:18:32
问题 I'm moving a database from PostGIS 2.2.1 to 2.5.0 (PG 9.6). I pg_dumped the old database and am using pg_restore to import it. Everything appears to go fine but I'm getting these two errors. Is this something I need to worry about or can just ignore them? pg_restore: creating AGGREGATE "public.accum(geometry)" pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 4925; 1255 348862 AGGREGATE accum(geometry) aed pg_restore: [archiver (db)]