[postgis-users] PostGIS 2.0 compilation and install

Stephen V. Mather svm at clevelandmetroparks.com
Tue Nov 1 10:37:31 PDT 2011


Hi Mateusz,
	GEOS 3.3.1 is compiled and installed, and I didn't throw any errors when running the configuration.

This is what I get when I run ldd against it:

$ ldd /usr/lib/postgresql/postgis-2.0.so 
	linux-vdso.so.1 =>  (0x00007fff857ff000)
	libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x00007fad84e35000)
	libproj.so.0 => /usr/lib/libproj.so.0 (0x00007fad84bf4000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007fad84897000)
	libc.so.6 => /lib/libc.so.6 (0x00007fad84530000)
	libgeos-3.0.0.so => /usr/lib/libgeos-3.0.0.so (0x00007fad841e2000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fad83ed5000)
	libm.so.6 => /lib/libm.so.6 (0x00007fad83c52000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fad83a3b000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fad83836000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007fad8361f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fad852de000)

Oh-- it looks like the dependency is pointing to libgeos-3.0.0 which isn't right... .

Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
svm at clevelandmetroparks.com
clevelandmetroparks.com



-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net] 
Sent: Tuesday, November 01, 2011 10:30 AM
To: svm at clevelandmetroparks.com; PostGIS Users Discussion
Subject: Re: [postgis-users] PostGIS 2.0 compilation and install

On 1 November 2011 14:21, Stephen V. Mather <svm at clevelandmetroparks.com> wrote:
> 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

I suppose the complain is about GEOS library. Check if you have GEOS installed.
Also, run this command to see if all run-time dependencies/libraries
for postgis-2.0.so
can be found:

$ ldd /usr/lib/postgresql/postgis-2.0.so

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org






More information about the postgis-users mailing list