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

Eduardo Luís Garcia Escovar eduardo.escovar at 3wt.com.br
Tue May 2 12:35:24 PDT 2006


Hi Daniel,

Isn't your libdir /usr/local/lib?

Rgs,

Eduardo

Daniel Ricard escreveu:
> 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