Hi,<br><br>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<br><br>Thanks for all the help<br><br>Andy<br><br><div><span class="gmail_quote">
On 04/06/07, <b class="gmail_sendername">Antonio Jorge Silva</b> <<a href="mailto:antonio.silva@igeo.pt">antonio.silva@igeo.pt</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi Andy<br><br>I am a newbie on PostGIS, but it seems to me that you don't have GEOS<br>installed... Maybe liblwgeom.so.1.2 is a library somehow related with<br>GEOS...<br><br>Could this be the problem?<br><br>Best regards,
<br><br>António<br><br><br>Andy Dale wrote:<br>> Hi,<br>><br>> I managed to install and use<br>> Postgis without any problems, but later found out that i could not do any reprojections without the proj library.
<br>><br>> I downloaded and installed the proj library.  I then attempted to re-install Postgis with proj support like so:<br>><br>><br>> ./configure --with-proj=yes (without specifying this flag it still find
<br>> the proj library) It produces the following output:<br>><br>> SUMMARY<br>> -------------------------------------------------------<br>><br>> HOST_OS: linux-gnu<br>><br>> PGSQL: /usr/bin/pg_config
<br>> PROJ: prefix=/usr/local libdir=/usr/local/lib<br>> ICONV: 1<br>><br>> PORTNAME: linux<br>> PREFIX: /usr<br>> EPREFIX: ${prefix}<br>> DOC: /usr/share/doc/postgresql/contrib<br>> DATA: ${datarootdir}
<br>> MAN: ${datarootdir}/man<br>> BIN: /usr/bin<br>> EXT: /usr/lib/pgsql (\$$libdir)<br>> -------------------------------------------------------<br>><br>> Now when i try to run either the lwpostgis_upgrade.sql or 
lwpostgis.sql<br>> (creates histogram2d then fails) i get the following error<br>><br>> ERROR: could not load library "/usr/lib/pgsql/liblwgeom.so.1.2":<br>> libproj.so.0: cannot open shared object file: No such file or directory
<br>><br>> Can anyone tell me where i have gone wrong in the installation ??<br>><br>> Thanks in advance,<br>><br>> Andy<br>><br>><br>><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> postgis-users mailing list<br>> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br>--<br>António Jorge Silva<br><br>Instituto Geográfico Português<br>Rua Artilharia Um, 107<br>1099-052 LISBOA<br>PORTUGAL<br>Tel: (351) 213819600
<br>Ext: 334<br>Email: <a href="mailto:antonio.silva@igeo.pt">antonio.silva@igeo.pt</a><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></blockquote></div><br>