Hi,<br><br>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.<br><br>I downloaded and installed the proj library.  I then attempted to re-install Postgis with proj support like so:
<br><br>./configure --with-proj=yes (without specifying this flag it still find 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 (creates histogram2d then fails) i get the following error<br><br>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
<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>