<html><head></head><body bgcolor='#FFFFFF' style='font-size:10pt;background-color:#FFFFFF;font-family:Verdana, Arial, sans-serif;'><p class="p1">I am having problems with installing PostGIS 2.0SVN with PostgreSQL 9.1. </p><p class="p1">I downloaded PostGIS from SVN. Some problem with revisions 8173, 8000 and 7950.<br/> </p><p class="p1">After downloading trunk, I processed the folliwing steps:</p><p class="p1">cd postgis-2.0.0SVN</p><p class="p1">./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config</p><p class="p1">make</p><p class="p1">make install</p><p class="p1">createdb db</p><p class="p1">createlang plpgsql db</p><p class="p2"> </p><p class="p1">When loading postgis.sql definitions with... </p><p class="p3">psql -d db -h localhost -p 5432 -U postgres -f /usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql<br/><br/>...the following errors occur:<br/><br/>(just an extract)</p><p class="p2"> </p><p class="p1">SET</p><p class="p1">BEGIN</p><p class="p1">ERROR:  could not load library "/usr/local/pgsql/lib/postgis-2.0.so": /usr/local/pgsql/lib/postgis-2.0.so: undefined symbol: GEOSRelatePatternMatch</p><p class="p1">STATEMENT:  CREATE OR REPLACE FUNCTION spheroid_in(cstring)</p><p class="p1">RETURNS spheroid</p><p class="p1">AS '$libdir/postgis-2.0','ellipsoid_in'</p><p class="p1">LANGUAGE 'C' IMMUTABLE STRICT;</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:70: ERROR:  could not load library "/usr/local/pgsql/lib/postgis-2.0.so": /usr/local/pgsql/lib/postgis-2.0.so: undefined symbol: GEOSRelatePatternMatch</p><p class="p1">ERROR:  current transaction is aborted, commands ignored until end of transaction block</p><p class="p2"> </p><p class="p1">...</p><p class="p2"> </p><p class="p1">ROLLBACK</p><p class="p1">ERROR:  type "geometry" does not exist</p><p class="p1">STATEMENT:  DROP AGGREGATE IF EXISTS geomunion(geometry);</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6373: ERROR:  type "geometry" does not exist</p><p class="p1">ERROR:  type "geometry" does not exist</p><p class="p1">STATEMENT:  DROP AGGREGATE IF EXISTS st_geomunion(geometry);</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6374: ERROR:  type "geometry" does not exist</p><p class="p1">ERROR:  type "geometry" does not exist</p><p class="p2"> </p><p class="p1">...</p><p class="p2"> </p><p class="p1">ERROR:  type "box2d" does not exist</p><p class="p1">STATEMENT:  DROP FUNCTION IF EXISTS box2d_overleft(box2d, box2d);</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6386: ERROR:  type "box2d" does not exist</p><p class="p1">ERROR:  type "box2d" does not exist</p><p class="p1">STATEMENT:  DROP FUNCTION IF EXISTS box2d_overright(box2d, box2d);</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6387: ERROR:  type "box2d" does not exist</p><p class="p1">ERROR:  type "box2d" does not exist</p><p class="p2"> </p><p class="p1">...</p><p class="p2"> </p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6455: ERROR:  type "geometry" does not exist</p><p class="p1">ERROR:  type "geometry" does not exist</p><p class="p1">STATEMENT:  DROP FUNCTION IF EXISTS SnapToGrid(geometry, float8, float8);</p><p class="p1">psql:/usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql:6456: ERROR:  type "geometry" does not exist</p><p class="p1">#</p><p class="p2"> </p><p class="p1">Seems PostGIS types aren't properly installed?</p><p class="p2"> </p><p class="p1">Can anyone help?</p><p class="p2"> </p><p class="p1">Thanks very much!</p>  <br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000000"><img src="https://img.ui-portal.de/p.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td style="font-family:verdana; font-size:12px; line-height:17px;">SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   <br>kostenguenstig. Jetzt gleich testen! <a href="http://f.web.de/?mc=021192"><b>http://f.web.de/?mc=021192</b></a></td></tr></table>
</body></html>