[postgis-users] Topology performance test
Sandro Santilli
strk at keybit.net
Thu Jun 21 01:35:20 PDT 2012
On Thu, Jun 21, 2012 at 12:46:08PM +1000, Luca Morandini wrote:
> On 06/20/2012 09:47 PM, Sandro Santilli wrote:
> >
> >I don't think postgis links with -rpath, so the first libgeos_c found by
> >your system will be used. Try ldd /usr/lib/libgeos_c.so
>
> I got rid of any libgeos under /usr/lib, and the result of ldd now is:
> ldd /usr/local/lib/libgeos_c.so
> linux-vdso.so.1 => (0x00007fffec1f7000)
> libgeos-3.3.4.so => /usr/local/lib/libgeos-3.3.4.so (0x00007f2ac12bd000)
>
> I built PostGIS and added it do a new database, but still:
> select postgis_full_version();
>
> POSTGIS="2.1.0SVN r9949" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1,
> 23 September 2009" LIBXML="2.7.6" TOPOLOGY
> (1 row)
>
> How can I force it to load 3.3.4 ?
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
--strk;
Sent from our free software
http://www.gnu.org/philosophy/free-sw.html
More information about the postgis-users
mailing list