[postgis-users] Installation with Proj

Antonio Jorge Silva antonio.silva at igeo.pt
Mon Jun 4 03:36:39 PDT 2007


Hi Andy

I am a newbie on PostGIS, but it seems to me that you don't have GEOS 
installed... Maybe liblwgeom.so.1.2 is a library somehow related with 
GEOS...

Could this be the problem?

Best regards,

António


Andy Dale wrote:
> Hi,
> 
> I managed to install and use 
> Postgis without any problems, but later found out that i could not do any reprojections without the proj library.
> 
> I downloaded and installed the proj library.  I then attempted to re-install Postgis with proj support like so: 
> 
> 
> ./configure --with-proj=yes (without specifying this flag it still find 
> the proj library) It produces the following output:
> 
> SUMMARY
> -------------------------------------------------------
> 
> HOST_OS: linux-gnu
> 
> PGSQL: /usr/bin/pg_config
> PROJ: prefix=/usr/local libdir=/usr/local/lib
> ICONV: 1
> 
> PORTNAME: linux
> PREFIX: /usr
> EPREFIX: ${prefix}
> DOC: /usr/share/doc/postgresql/contrib
> DATA: ${datarootdir}
> MAN: ${datarootdir}/man
> BIN: /usr/bin
> EXT: /usr/lib/pgsql (\$$libdir)
> -------------------------------------------------------
> 
> Now when i try to run either the lwpostgis_upgrade.sql or lwpostgis.sql 
> (creates histogram2d then fails) i get the following error
> 
> ERROR: could not load library "/usr/lib/pgsql/liblwgeom.so.1.2": 
> libproj.so.0: cannot open shared object file: No such file or directory
> 
> Can anyone tell me where i have gone wrong in the installation ??
> 
> Thanks in advance,
> 
> Andy
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


-- 
António Jorge Silva

Instituto Geográfico Português
Rua Artilharia Um, 107
1099-052 LISBOA
PORTUGAL
Tel: (351) 213819600
Ext: 334
Email: antonio.silva at igeo.pt



More information about the postgis-users mailing list