[postgis-users] Problem with lwpostgis.sql

strk at refractions.net strk at refractions.net
Fri Feb 10 06:33:51 PST 2006


On Fri, Feb 10, 2006 at 01:45:31PM +0100, Christian Schwartze wrote:
> Hi postgis-users,
> 
> after successful installation of PostgreSQL 8.1.0 and Postgis 1.1.1 I got some
> problem when importing the lwpostgis.sql file for my database. The error
> message is:
> 
> psql:/home/christian/postgis-1.1.1/lwpostgis.sql:39: ERROR:  could not load
> library "/usr/local/pgsql/lib/liblwgeom.so.1.1":
> /usr/local/pgsql/lib/liblwgeom.so.1.1: undefined symbol: ARR_OVERHEAD_NONULLS
> 
> What to do now? Please help and thanks a lot!

#include "lwgeom_pg.h"

#if USE_VERSION < 82
#define ARR_OVERHEAD_NONULLS(x) ARR_OVERHEAD((x))
#endif

It looks like your postgis Build scripts belive your PostgreSQL version
is 8.2.

Check make output and see what USE_VERSION is set to

--strk;



More information about the postgis-users mailing list