[postgis-users] Hausdorf

Paul Ramsey pramsey at opengeo.org
Tue Nov 1 09:54:17 PDT 2011


The problem is that you have built against a higher GEOS than you have
installed on your system. Well, actually you probably have two versions
installed in your system, it's just that PostGIS is finding the lower one
at runtime. Run 'ldd' on postgis.so to see what libgeos is being picked up
and then get rid of it so that the newer one takes priority.

P.

On Tue, Nov 1, 2011 at 9:36 AM, Paul Ramsey <pramsey at opengeo.org> wrote:

> The latest PostGIS requires a later GEOS (actually, the build should be
> avoiding this symbol for older versions of GEOS, what version of GEOS do
> you have?) so get the latest GEOS too.
>
> P.
>
> On Tue, Nov 1, 2011 at 7:20 AM, Stephen V. Mather <
> svm at clevelandmetroparks.com> wrote:
>
>>  Hi All,****
>>
>>                 In over my head… .  Got PostGIS 2.0 compiled and
>> installed with 9.1 (after having some success with it with 8.4) and ran
>> into the following error when I try to apply postgis.sql to my database:*
>> ***
>>
>> ** **
>>
>> postgres at postgis:/usr/share/postgresql/contrib/postgis-2.0$  psql -d
>> test -f postgis.sql****
>>
>> SET****
>>
>> BEGIN****
>>
>> psql:postgis.sql:70: ERROR:  could not load library "/usr/lib/postgresql/
>> postgis-2.0.so": /usr/lib/postgresql/postgis-2.0.so: undefined symbol:
>> GEOSHausdorffDistance****
>>
>> etc…****
>>
>> ** **
>>
>> Is I do an ls on /usr/lib/postgresql/postgis-2.0.so, it exists.  Any
>> guesses as to what’s going wrong?****
>>
>> ** **
>>
>> (as postgres):****
>>
>> ** **
>>
>> $ ls -l /usr/lib/postgresql/postgis-2.0.so ****
>>
>> -rwxr-xr-x 1 root root 1411872 2011-11-01 09:56 /usr/lib/postgresql/
>> postgis-2.0.so****
>>
>> ** **
>>
>> Thanks,****
>>
>> Steve****
>>
>> ** **
>>
>> **[image: http://www.clemetparks.com/images/esig/cmp-ms-90x122.png]**Stephen
>> Mather
>> Geographic Information Systems (GIS) Manager
>> (216) 635-3243****
>>
>> svm at clevelandmetroparks.com
>> clevelandmetroparks.com <http://www.clemetparks.com/>****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111101/227a52e0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3772 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111101/227a52e0/attachment.png>


More information about the postgis-users mailing list