[postgis-users] Error from lwpostgis.sql re: GEOS
Patricio Cifuentes Ithal
pcifuentes at siigsa.cl
Tue May 2 14:08:12 PDT 2006
Create file ld.so.conf and add line /usr/local/lib and save in directory:
file:/etc/ld.so.conf.d.
execute in shell /sbin/ldconfig
--
Patricio Cifuentes Ithal
Ingeniero en Informática
Informática
SIIGSA
(56-2) 204 60 22
----- Original Message -----
From: "Paul Ramsey" <pramsey at refractions.net>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Sent: Tuesday, May 02, 2006 4:52 PM
Subject: Re: [postgis-users] Error from lwpostgis.sql re: GEOS
> 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
>
> _______________________________________________
> 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