On Wed, Jun 20, 2012 at 01:43:40PM +1000, Luca Morandini wrote: > On 06/19/2012 08:25 PM, Sandro Santilli wrote: > >> > >>Am I doing something wrong ? > > > >Probably. I don't use the extension model (as I find it more limited while > >upgrading between SVN revisions) so I don't really know _what_, > > I didm't use the extensions, I just ran postegis.sql and > spatial_ref_sys.sql on a newly created database. > > > >but I guess > >a ```SELECT postgis_full_version()``` would tell you more (procs need > >upgrade?) > > Here you are: > 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 > > Therefore, PostGIS has been upgraded, but GEOS is still the old > version, which is rather odd, since: > /usr/local/lib/libgeos.so -> libgeos-3.3.4.so > /usr/lib/libgeos.so -> libgeos-3.1.0.so > > ...and: > /usr/local/bin/geos-config --version > 3.3.4 > > ...and I specifed the GEOS version to use (3.3.4) during PostGIS build: > ./configure --without-raster --with-geosconfig=/usr/local/bin/geos-config
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 --strk; Sent from our free software http://www.gnu.org/philosophy/free-sw.html _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users