[postgis-users] Error from lwpostgis.sql re: GEOS
Daniel Ricard
ricardd at mathstat.dal.ca
Tue May 2 12:24:53 PDT 2006
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
More information about the postgis-users
mailing list