[ELGIS] GDAL python bindings and libspatialite

Adrian Bartel (AR) bartelar at telkom.co.za
Wed Aug 24 02:23:29 EDT 2011


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
<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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/el/attachments/20110824/31fc4038/attachment.html


More information about the el mailing list