[postgis-users] Problems installing PostGIS 2.0SVN on PostgreSQL 9.1

Steffen Weber webste2 at web.de
Sun Nov 20 13:41:04 PST 2011


I had two version of GEOS... solved it by removing the older one... running GEOS 3.3.1 now


-----Ursprüngliche Nachricht-----
Von: "Mike Toews" <mwtoews at gmail.com>
Gesendet: 20.11.2011 06:54:05
An: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Betreff: Re: [postgis-users] Problems installing PostGIS 2.0SVN on PostgreSQL 9.1

>On 18 November 2011 17:11, <webste2 at web.de> wrote:
>> cd postgis-2.0.0SVN
>> ./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config
>> make
>> make install
>It's a good idea to also run a [sudo] ldconfig command here
>> createdb db
>> createlang plpgsql db
>>
>> When loading postgis.sql definitions with...
>>
>> psql -d db -h localhost -p 5432 -U postgres -f /usr/local/pgsql/share/contrib/postgis-2.0/postgis.sql
>
>There should only be one error, and you can stop psql on that with by
>adding -v ON_ERROR_STOP=1 to your command
>
>> ERROR:  could not load library "/usr/local/pgsql/lib/postgis-2.0.so": /usr/local/pgsql/lib/postgis-2.0.so: undefined symbol: GEOSRelatePatternMatch
>> STATEMENT:  CREATE OR REPLACE FUNCTION spheroid_in(cstring)
>> RETURNS spheroid
>> AS '$libdir/postgis-2.0','ellipsoid_in'
>> LANGUAGE 'C' IMMUTABLE STRICT;
>
>This looks like your error. What version of GEOS do you have? For
>PostGIS 2.0 you need GEOS 3.2.2 or higher.
>
>-Mike
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users


___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192



More information about the postgis-users mailing list