[postgis-users] Topology performance test

Luca Morandini lmorandini at ieee.org
Thu Jun 21 01:50:06 PDT 2012


On 06/21/2012 06:35 PM, Sandro Santilli wrote:
>
> There must be another libgeos_c.so in your system.
> Every libgeos_c.so file should link to a specific version
> of the libgeos-x.y.z, so if you get 3.3.3 you must be using
> the libgeos_c.so shipped with that version.
>
> Try:
> ldd /usr/lib/postgresql/8.4/lib/postgis-2.1.so

ldd /usr/lib/postgresql/9.1/lib/postgis-2.1.so
         linux-vdso.so.1 =>  (0x00007fffb35ff000)
         libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x00007f6f495fe000)
         libproj.so.0 => /usr/lib/libproj.so.0 (0x00007f6f493bc000)
         libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f6f4906b000)
         libc.so.6 => /lib/libc.so.6 (0x00007f6f48ce8000)
         libgeos-3.3.3.so => /usr/local/lib/libgeos-3.3.3.so (0x00007f6f48948000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f6f48633000)
         libm.so.6 => /lib/libm.so.6 (0x00007f6f483b0000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f6f48199000)
         libdl.so.2 => /lib/libdl.so.2 (0x00007f6f47f94000)
         libz.so.1 => /lib/libz.so.1 (0x00007f6f47d7d000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f6f49ac7000)

...and:

ls -l /usr/local/lib/libgeos_c.so.1
lrwxrwxrwx 1 root root 18 2012-06-21 09:18 /usr/local/lib/libgeos_c.so.1 -> 
libgeos_c.so.1.7.4

Regards,

Luca Morandini
Data Architect - AURIN project
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini




More information about the postgis-users mailing list