[postgis-users] liblwgeom.so.1.1
Patricio Cifuentes Ithal
pcifuentes at siigsa.cl
Thu May 4 12:21:40 PDT 2006
Hi,
add line /usr/local/lib
executen in shell /sbin/ldconfig
--
Patricio Cifuentes Ithal
Ingeniero en Informática
Informática
SIIGSA
(56-2) 204 60 22
----- Original Message -----
From: "trevorw" <trevorw at fanweb.ca>
To: <postgis-users at postgis.refractions.net>
Sent: Thursday, May 04, 2006 1:28 PM
Subject: [postgis-users] liblwgeom.so.1.1
>
> I've noted other responses on the list to this problem but seem unable
> to solve it.
>
> I'm attempting a source install on an Ubuntu breezy install on an AMD64
> machine.
>
> I successfully installed postresql 8.1.3 from source. I also installed
> geos and proj from source.
>
> My ld.so.conf file looks as follows:
> /lib32
> /usr/lib32
> /usr/X11R6/lib32
> /usr/lib/atlas
> /usr/local/pgsql/lib
> /usr/local/grass-6.1.cvs/lib
>
> after updating for grass and pgsql I ran ldconfig.
>
> I then downloaded postgis and put it in the contrib directory of my
> source tree for posgresql as .../contrib/postgis
>
> When running ./configure it finds proj, and geos, but has to be
> explicitly told where pgsql is (/usr/local/pgsql/bin/pg_config).
>
> It seems to compile and install without even, but following the setup
> for a database I run into problems.
>
> First I create plpgsql as instructed.
> createlang plpgsql SPATIAL
>
> Then I attempt load the PostGIS functions and objects using:
>
> psql -d SPATIAL -f lwpostgis.sql
>
> BUT then the following happens:
> BEGIN
> NOTICE: type "histogram2d" is not yet defined
> DETAIL: Creating a shell type definition.
> ERROR: could not load library "/usr/local/pgsql/lib/liblwgeom.so.1.1":
> libgeos_c.so.1: cannot open shared object file: No such file or
> directory ERROR: current transaction is aborted, commands ignored until
> end of transaction block
> ....
>
> Any suggestions about what I've done wrong would be helpful.
>
> Thanks
>
> T
> --
> Trevor Wiens
> _______________________________________________
> 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