After installing proj, the contents under /usr/local/lib are<br><br>-rw-r--r-- 1 &nbsp;&nbsp;&nbsp;&nbsp;root root 1300710 Jun  4 12:05 libproj.a<br>-rwxr-xr-x 1 &nbsp;&nbsp;root root     796 Jun  4 12:05 <a href="http://libproj.la">libproj.la</a><br>lrwxrwxrwx 1 root root      16 Jun  4 12:05 
libproj.so -&gt; libproj.so.0.5.2<br>lrwxrwxrwx 1 root root      16 Jun  4 12:05 libproj.so.0 -&gt; libproj.so.0.5.2<br>-rwxr-xr-x 1 &nbsp;&nbsp;root root  758060 Jun  4 12:05 libproj.so.0.5.2<br><br>Postgis recompiled fine after the installation of proj, it even auto found the proj on the system. &nbsp;The problem comes when i try and run the sql script to upgrade postgis
<br><br>Cheers,<br><br>Andy<br><br><br><div><span class="gmail_quote">On 04/06/07, <b class="gmail_sendername">jrom</b> &lt;<a href="mailto:jerome.gasperi@gmail.com">jerome.gasperi@gmail.com</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>After ./configure did you recompile postgis without any problem ?<br>If the compilation ran well then you should check under /usr/local/lib<br>if you have libproj.so.0 file that should be a link to the current
<br>libproj.<br><br>For example a typical proj 5 installation you should have something<br>like this under /usr/local/lib :<br>lrwxrwxrwx 1 gass gass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16 2005-09-13 14:47 libproj.so -&gt; libproj.so.0.5.0<br>lrwxrwxrwx 1 gass gass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16 2005-09-13 14:47 
libproj.so.0 -&gt; libproj.so.0.5.0<br>-rwxr-xr-x 1 gass gass&nbsp;&nbsp;657462 2005-09-13 14:47 libproj.so.0.5.0<br><br>As you can see libproj.so.0 is a dynamic link to libproj.so.0.5.0.<br>If this link is not present you can create it
<br><br>Hope this help<br><br>On 6/4/07, Andy Dale &lt;<a href="mailto:andy.dale@gmail.com">andy.dale@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I managed to install and use Postgis without any problems,<br>&gt; but later found out that i could not do any
<br>&gt; reprojections without the proj library.<br>&gt;<br>&gt; I downloaded and installed the proj library.&nbsp;&nbsp;I then<br>&gt; attempted to re-install Postgis with proj<br>&gt; support like so:<br>&gt;<br>&gt; ./configure --with-proj=yes (without specifying this flag it still find the
<br>&gt; proj library) It produces the following output:<br>&gt;<br>&gt; SUMMARY<br>&gt;&nbsp;&nbsp;-------------------------------------------------------<br>&gt;<br>&gt;&nbsp;&nbsp;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;&nbsp;&nbsp;PREFIX: /usr<br>&gt; EPREFIX: ${prefix}<br>&gt;&nbsp;&nbsp;DOC: /usr/share/doc/postgresql/contrib<br>&gt;&nbsp;&nbsp;DATA: ${datarootdir}
<br>&gt;&nbsp;&nbsp;MAN: ${datarootdir}/man<br>&gt;&nbsp;&nbsp;BIN: /usr/bin<br>&gt;&nbsp;&nbsp;EXT: /usr/lib/pgsql (\$$libdir)<br>&gt;&nbsp;&nbsp;-------------------------------------------------------<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<br>&gt; &quot;/usr/lib/pgsql/liblwgeom.so.1.2&quot;: libproj.so.0: cannot<br>&gt; 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; 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>&gt;<br>&gt;<br><br><br>--<br>J.<br><a href="http://geogurus.org/jrom">http://geogurus.org/jrom</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>