[prev in list] [next in list] [prev in thread] [next in thread]
List: postgis-users
Subject: Re: [postgis-users] problem with geos when running regress tests
From: strk () refractions ! net
Date: 2006-07-28 2:29:04
Message-ID: 20060728022904.GG48401 () keybit ! net
[Download RAW message or body]
Did you export LD_LIBRARY_PATH in the environment ?
Try also running ldconfig.
--strk;
On Thu, Jul 27, 2006 at 04:16:57PM -0300, ricardd@mathstat.dal.ca wrote:
> Hello,
> I'm installing the latest GEOS and postGIS on an Ubuntu distribution.
>
> postgresql was built from source and is up and running.
>
> GEOS installation went well and the libraries are installed in
> /usr/local/lib:
>
> *******************************************************
> postgres@octopus-desktop:$ ls /usr/local/lib | grep geos
> libgeos.a
> libgeos_c.a
> libgeos_c.la
> libgeos_c.so
> libgeos_c.so.1
> libgeos_c.so.1.1.1
> libgeos.la
> libgeos.so
> libgeos.so.2
> libgeos.so.2.2.3
> *******************************************************
>
> postgis configure and make went well but I'm getting an error when running
> the regress tests. The regress log says:
>
> *******************************************************
> psql:lwpostgis.sql:39: ERROR: could not load library
> "/downloads/postgresql-8.1.4/contrib/postgis-1.1.3/lwgeom/liblwgeom.so.1.1":
> libgeos_c.so.1: cannot open shared object file: No such file or directory
> *******************************************************
>
> Somehow, liblwgeom.so.1.1 isn't finding libgeos_c.so.1:
>
> ********************************************************
> postgres@octopus-desktop:$ ldd
> /downloads/postgresql-8.1.4/contrib/postgis-1.1.3/lwgeom/liblwgeom.so.1.1
> linux-gate.so.1 => (0xffffe000)
> libgeos_c.so.1 => not found
> libproj.so.0 => /usr/lib/libproj.so.0 (0xb7ee4000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db5000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d92000)
> /lib/ld-linux.so.2 (0x80000000)
> ********************************************************
>
> What can I do to fix this? I added /usr/local/lib to LD_LIBRARY_PATH but
> I'm still getting the same error.
> Cheers,
>
> Dan
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
--
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic