[postgis-users] Installation with Proj

Andy Dale andy.dale at gmail.com
Mon Jun 4 05:15:58 PDT 2007


Hi,

I sorted it out, i had to do the ldconfig (thanks for the tip Rob) but only
after adding the /usr/local/lib directory to /etc/ld.so.conf

Thanks for all the help

Andy

On 04/06/07, Antonio Jorge Silva <antonio.silva at igeo.pt> wrote:
>
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070604/f2d713a9/attachment.html>


More information about the postgis-users mailing list