[ELGIS] RE: GDAL python bindings and libspatialite

Hatzopoulos, Nikolaos hatzopou at chapman.edu
Wed Aug 24 02:54:32 EDT 2011


mine fails :)

 python
Python 2.4.3 (#1, May  5 2011, 16:39:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 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



________________________________________
From: Mathieu Baudier [mbaudier at argeo.org]
Sent: Tuesday, August 23, 2011 11:50 PM
To: Hatzopoulos, Nikolaos
Cc: Adrian Bartel (AR); el at lists.osgeo.org
Subject: Re: [ELGIS] RE: GDAL python bindings and libspatialite

> if you hit python
> and you are in python mode
>
> enter:
> from osgeo import gdal

Should this fail ?

[mbaudier at alma ~]$ python
Python 2.4.3 (#1, May  5 2011, 16:39:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal
>>> print "test"
test
>>>
[mbaudier at alma ~]$


More information about the el mailing list