I also got the same error as Adam while executing lwpostgis. But, it
did not affect my project. I am also curious to know where the bug is.<br>
<br>
Sasanka<br><br><div><span class="gmail_quote">On 12/30/06, <b class="gmail_sendername">Adam</b> &lt;<a href="mailto:adam@spatialsystems.org">adam@spatialsystems.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did createlang, here is my error:<br><br>[wohldad@localhost postgis-1.1.6]$<br>/usr/local/src/database/postgresql-8.1.3/src/bin/psql/psql -d gpsrd_v2 -f<br>lwpostgis.sql<br>BEGIN<br>psql:lwpostgis.sql:39: NOTICE:&nbsp;&nbsp;type &quot;histogram2d&quot; is not yet defined
<br>DETAIL:&nbsp;&nbsp;Creating a shell type definition.<br>psql:lwpostgis.sql:39: ERROR:&nbsp;&nbsp;could not load library<br>&quot;/usr/local/pgsql/lib/liblwgeom.so.1.1&quot;: libgeos_c.so.1: cannot open shared<br>object file: No such file or directory
<br>psql:lwpostgis.sql:44: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>ignored until end of transaction block<br>psql:lwpostgis.sql:52: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>ignored until end of transaction block
<br><br><br>What I had to do to fix this is to add:<br><br>&nbsp;&nbsp;/usr/local/pgsql/lib<br>&nbsp;&nbsp;/usr/local/lib<br><br>to &quot;/etc/ld.so.conf&quot; and run &quot;ldconfig&quot;.<br><br><br><br>----- Original Message -----<br>From: &quot;Matthew Perry&quot; &lt;
<a href="mailto:perrygeo@gmail.com">perrygeo@gmail.com</a>&gt;<br>To: &quot;PostGIS Users Discussion&quot; &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Sent: Friday, December 29, 2006 2:01 PM
<br>Subject: Re: [postgis-users] Failing: psql -d [yourdatabase] -f<br>lwpostgis.sql<br><br><br>&gt; Adam,<br>&gt;<br>&gt; You may have to add the plpgsql language to your database first:<br>&gt;<br>&gt;&nbsp;&nbsp;createlang -d [yourdatabase] plpgsql
<br>&gt;<br>&gt; - matt<br>&gt;<br>&gt; On 12/29/06, Adam &lt;<a href="mailto:adam@spatialsystems.org">adam@spatialsystems.org</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I&#39;m installing version 1.1.6 and everything is fine until the step:
<br>&gt;&gt;<br>&gt;&gt; psql -d [yourdatabase] -f lwpostgis.sql<br>&gt;&gt;<br>&gt;&gt; It&#39;s all erroring out.&nbsp;&nbsp;Any idea what the problem is or where I go to see<br>&gt;&gt; what the error is?<br>&gt;&gt;<br>&gt;&gt; psql:
lwpostgis.sql:3368: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; psql:lwpostgis.sql:3375: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>&gt;&gt; ignored until end of transaction block
<br>&gt;&gt; psql:lwpostgis.sql:3380: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; psql:lwpostgis.sql:3385: ERROR:&nbsp;&nbsp;current transaction is aborted, commands
<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; psql:lwpostgis.sql:3444: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; psql:lwpostgis.sql:3462: ERROR:&nbsp;&nbsp;current transaction is aborted, commands
<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; psql:lwpostgis.sql:3509: ERROR:&nbsp;&nbsp;current transaction is aborted, commands<br>&gt;&gt; ignored until end of transaction block<br>&gt;&gt; ROLLBACK<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Matthew T. Perry<br>&gt; GIS Analyst / Software Engineer<br>&gt; National Center for Ecological Analysis and Synthesis (NCEAS)
<br>&gt; work: <a href="mailto:perry@nceas.ucsb.edu">perry@nceas.ucsb.edu</a><br>&gt; web: <a href="http://www.perrygeo.net">http://www.perrygeo.net</a><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><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>