[postgis-users] ERROR: could not load library "/usr/local/pgsql/lib/postgis-1.5.so

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu May 27 07:57:46 PDT 2010

Paul Ramsey wrote:

> Sounds like you have an older version of GEOS floating around somewhere.
> find / -name "libgeos_c.*"
> P.

Yeah, that looks about right from Kai's earlier email:

  linux-gate.so.1 =>  (0xffffe000)
         libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0xb7ea6000)
         libproj.so.0 => /usr/local/lib/libproj.so.0 (0xb7e73000)
         libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7d59000)
         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c28000)
         libgeos.so.2 => /usr/lib/libgeos.so.2 (0xb7b27000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a42000)
         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7a1c000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a11000)
         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7a0d000)
         libz.so.1 => /usr/lib/libz.so.1 (0xb79f9000)
         /lib/ld-linux.so.2 (0x80000000)

Looks as if there is a GEOS v2 already installed (probably installed via 
a package manager) causing problems.



Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs

More information about the postgis-users mailing list