Mark, not sure what you mean by "tweak your PostgreSQL startup script". Happy to try that if I did.<br><br>I copied the <a href="http://postgis-1.4.so">postgis-1.4.so</a> lib from my PostGIS build area to /opt/PostgreSQL/8.4/lib/postgresql. No help<br>
<br>I checked and the geos/proj.4 libs appear to be in /usr/local/lib.<br><br>I set LD_LIBRARY_PATH=/usr/PostGIS/postgis-1.4.0/postgis:/usr/local/lib:/usr/lib<br>No help<br><br>I am running on Linux CentOS 5.3, if that might make a difference.<br>
<br>Mark<br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 5:34 AM, Mark Cave-Ayland <span dir="ltr"><<a href="mailto:mark.cave-ayland@siriusit.co.uk">mark.cave-ayland@siriusit.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mark Vantzelfde wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
BEGIN<br>
psql:postgis.sql:53: NOTICE: type "spheroid" is not yet defined<br>
DETAIL: Creating a shell type definition.<br></div>
psql:postgis.sql:53: ERROR: could not load library "/opt/PostgreSQL/8.4/lib/postgresql/<a href="http://postgis-1.4.so" target="_blank">postgis-1.4.so</a> <<a href="http://postgis-1.4.so" target="_blank">http://postgis-1.4.so</a>>": libgeos_c.so.1: cannot open shared object file: No such file or directory<div class="im">
<br>
psql:postgis.sql:59: ERROR: current transaction is aborted, commands ignored until end of transaction block<br>
...<br>
</div></blockquote>
<br>
Remember that the various .so libraries need to be visible to the server at runtime, not just at build time. So you can either tweak your PostgreSQL startup script to include a LD_LIBRARY_PATH=/usr/local/lib declaration (assuming you used the defaults when you built GEOS/PROJ.4), or tweak /etc/ld.so.conf with the relevant locations and then re-run ldconfig.<br>
<br>
<br>
HTH,<br>
<br>
Mark.<br><font color="#888888">
<br>
-- <br>
Mark Cave-Ayland - Senior Technical Architect<br>
PostgreSQL - PostGIS<br>
Sirius Corporation plc - control through freedom<br>
<a href="http://www.siriusit.co.uk" target="_blank">http://www.siriusit.co.uk</a><br>
t: +44 870 608 0063<br>
<br>
Sirius Labs: <a href="http://www.siriusit.co.uk/labs" target="_blank">http://www.siriusit.co.uk/labs</a></font><div><div></div><div class="h5"><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mark Vantzelfde<br>NetMasters, Inc.<br>