[postgis-users] Error from lwpostgis.sql re: GEOS

Patricio Cifuentes Ithal pcifuentes at siigsa.cl
Tue May 2 13:17:04 PDT 2006


hi all

download GEOS 2 source, ./configure - make - make install

downloas postgis source ./configure - make - make install - psql -f
lwpostgis.sql

-- 

Patricio Cifuentes Ithal
Ingeniero en Informática

Informática
SIIGSA
(56-2) 204 60 22
----- Original Message ----- 
From: "Daniel Ricard" <ricardd at mathstat.dal.ca>
To: <postgis-users at postgis.refractions.net>
Sent: Tuesday, May 02, 2006 3:24 PM
Subject: [postgis-users] Error from lwpostgis.sql re: GEOS


> Hello,
> I have downloaded and built from source the latest versions of postgreSQL,
> GEOS, proj4 and postGIS.
>
> I thought that the installation was all good but I'm now getting an error
when
> trying to "psql -U postgres -d myDB -f lwpostgis.sql":
>
> ***********************************************************************
> psql:/usr/local/postgresql/share/contrib/lwpostgis.sql:39: ERROR:  could
not
> load library "/usr/local/postgresql/lib/liblwgeom.so.1.1": libgeos_c.so.1:
> cannot open shared object file: No such file or directory
> ***********************************************************************
>
> The GEOS library is installed in /usr/local and I have correctly set the
> GEOS_DIR in Makefile.config for postGIS.
>
> Here is what configure tells me:
>
>  SUMMARY
>  -------------------------------------------------------
>
>  HOST_OS: linux-gnu
>
>    PGSQL: /usr/local/postgresql/bin/pg_config
>     GEOS: /usr/local/bin/geos-config (with C-API)
>     PROJ: dir=/usr/local/proj4
>
>
> I also ran "ldconfig" after installing GEOS.
>
> Any ideas about what I am doing wrong here?
> Cheers,
>
> Dan
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list