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