[postgis-users] postgis install problems

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Sun Sep 7 03:10:43 PDT 2008


Dowling, James Parker wrote:

> When I attempt to load lwpostgis.sql I run up against the following error:
> 
>  
> 
> [root at in-polis-lnx01 postgis-1.3.3]# PATH=$PATH:/opt/PostgreSQL/8.3/bin
> 
> [root at in-polis-lnx01 postgis-1.3.3]# export path
> 
> [root at in-polis-lnx01 postgis-1.3.3]# psql -d dbm_test -f lwpostgis.sql 
> -U postgres -W
> 
> Password for user postgres:
> 
> BEGIN
> 
> psql:lwpostgis.sql:44: NOTICE:  type "histogram2d" is not yet defined
> 
> DETAIL:  Creating a shell type definition.
> 
> psql:lwpostgis.sql:44: ERROR:  could not load library 
> "/opt/PostgreSQL/8.3/lib/postgresql/liblwgeom.so": 
> /opt/PostgreSQL/8.3/lib/postgresql/liblwgeom.so: undefined symbol: 
> pj_set_searchpath
> 
> psql:lwpostgis.sql:50: ERROR:  current transaction is aborted, commands 
> ignored until end of transaction block
> 
> psql:lwpostgis.sql:56: ERROR:  current transaction is aborted, commands 
> ignored until end of transaction block
> 
> …………….
> 
>  
> 
> I’m brand new to PostgreSQL and pretty rusty with unix, any help would 
> be appreciated.
> 
>  
> 
> Thanks,
> 
> Jim 


Hi Jim,

Newer versions of PostGIS require a minimum of PROJ 4.4.9 to cope with 
an extra path setting for Windows clients. Unfortunately the 1.3 series 
build system is not clever enough to detect this, however the relevant 
changes have been made in SVN trunk.


HTH,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-users mailing list