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> <<a href="mailto:adam@spatialsystems.org">adam@spatialsystems.org</a>> 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:  type "histogram2d" is not yet defined
<br>DETAIL:  Creating a shell type definition.<br>psql:lwpostgis.sql:39: ERROR:  could not load library<br>"/usr/local/pgsql/lib/liblwgeom.so.1.1": libgeos_c.so.1: cannot open shared<br>object file: No such file or directory
<br>psql:lwpostgis.sql:44: ERROR:  current transaction is aborted, commands<br>ignored until end of transaction block<br>psql:lwpostgis.sql:52: ERROR:  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>  /usr/local/pgsql/lib<br>  /usr/local/lib<br><br>to "/etc/ld.so.conf" and run "ldconfig".<br><br><br><br>----- Original Message -----<br>From: "Matthew Perry" <
<a href="mailto:perrygeo@gmail.com">perrygeo@gmail.com</a>><br>To: "PostGIS Users Discussion" <<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>><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>> Adam,<br>><br>> You may have to add the plpgsql language to your database first:<br>><br>>  createlang -d [yourdatabase] plpgsql
<br>><br>> - matt<br>><br>> On 12/29/06, Adam <<a href="mailto:adam@spatialsystems.org">adam@spatialsystems.org</a>> wrote:<br>>><br>>><br>>> I'm installing version 1.1.6 and everything is fine until the step:
<br>>><br>>> psql -d [yourdatabase] -f lwpostgis.sql<br>>><br>>> It's all erroring out.  Any idea what the problem is or where I go to see<br>>> what the error is?<br>>><br>>> psql:
lwpostgis.sql:3368: ERROR:  current transaction is aborted, commands<br>>> ignored until end of transaction block<br>>> psql:lwpostgis.sql:3375: ERROR:  current transaction is aborted, commands<br>>> ignored until end of transaction block
<br>>> psql:lwpostgis.sql:3380: ERROR:  current transaction is aborted, commands<br>>> ignored until end of transaction block<br>>> psql:lwpostgis.sql:3385: ERROR:  current transaction is aborted, commands
<br>>> ignored until end of transaction block<br>>> psql:lwpostgis.sql:3444: ERROR:  current transaction is aborted, commands<br>>> ignored until end of transaction block<br>>> psql:lwpostgis.sql:3462: ERROR:  current transaction is aborted, commands
<br>>> ignored until end of transaction block<br>>> psql:lwpostgis.sql:3509: ERROR:  current transaction is aborted, commands<br>>> ignored until end of transaction block<br>>> ROLLBACK<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>>><br>>><br>>><br>><br>><br>> --<br>> Matthew T. Perry<br>> GIS Analyst / Software Engineer<br>> National Center for Ecological Analysis and Synthesis (NCEAS)
<br>> work: <a href="mailto:perry@nceas.ucsb.edu">perry@nceas.ucsb.edu</a><br>> web: <a href="http://www.perrygeo.net">http://www.perrygeo.net</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>><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>