[postgis-users] Error from lwpostgis.sql re: GEOS
Paul Ramsey
pramsey at refractions.net
Tue May 2 13:52:43 PDT 2006
Is /usr/local/lib in your /etc/ld.so.conf file?
P
On 2-May-06, at 12:24 PM, Daniel Ricard wrote:
> 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