[ELGIS] RE: GDAL python bindings and libspatialite

Hatzopoulos, Nikolaos hatzopou at chapman.edu
Wed Aug 24 02:39:07 EDT 2011


same error to me

it seems that libspatialite is not compiled right

--Nikos Hatzopoulos
________________________________
From: el-bounces at lists.osgeo.org [el-bounces at lists.osgeo.org] on behalf of Adrian Bartel (AR) [bartelar at telkom.co.za]
Sent: Tuesday, August 23, 2011 11:23 PM
To: el at lists.osgeo.org
Subject: [ELGIS] GDAL python bindings and libspatialite

Hi,

I'm having a bit of trouble with the latest ELGIS GDAL packages on SL5 and would like to confirm whether it's specific to my machine or a general problem.

>>> from osgeo import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib64/python2.4/site-packages/osgeo/__init__.py", line 24, in ?
    import _gdal
ImportError: /usr/lib64/libspatialite.so.2: undefined symbol: sqlite3_clear_bindings

This affects gdal_merge.py and some custom scripts I use.

I have:
gdal-1.8.0-4.el5.elgis.x86_64
gdal-devel-1.8.0-4.el5.elgis.x86_64
gdal-python-1.8.0-4.el5.elgis.x86_64
gdal-java-1.8.0-4.el5.elgis.x86_64

libspatialite-2.4.0-0.6_0.RC4.el5.elgis.x86_64

sqlite-3.3.6-5.i386
sqlite-3.3.6-5.x86_64
sqlite-devel-3.3.6-5.i386
sqlite-devel-3.3.6-5.x86_64
nm -D /usr/lib64/libsqlite3.so.0.8.6 doesn't list sqlite3_clear_bindings, so it appears not to be available in the stock sqlite library?

cf. http://www.sqlite.org/cvstrac/tktview?tn=1460

Adrian





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to the Telkom SA electronic communication legal notice, available at : http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
el mailing list
el at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/el


More information about the el mailing list