[Gdal-dev] GDAL / PYTHON / Plone / Prima GIS

Dave Sampson dr.sampson at sympatico.ca
Sun Dec 18 13:58:27 EST 2005


Hey folks.

Just incase I posted this message before I was approved on the list, I 
am resending as I didn't see it archived. Sorry if it repeats.

I seem to be having some troubles with GDAL and Python and can't 
pinpoint it. Its for use in the PrimaGIS application for the Plone CMS 
based on Zope infrastructure.

Particulars:
Python 2.3.5
gdal 1.3.1
zco 0.6
PCL-0.9

Errors.

I found similar errors in two places. I first found the trouble when
runnning a ./runzope session wihtin my plone instance. The trying to
narrow things down was able to repeat it through Python interp.

Python 2.3.5 (#1, Jul 22 2005, 18:50:51)
[GCC 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie-8.7.7. on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/gdal.py", line 191, in ?
    import _gdal
ImportError: /usr/lib/python2.3/site-packages/_gdalmodule.so: undefined
symbol: OGR_G_AddPoint_2D

It apears similar to a post is 2000
http://lists.maptools.org/pipermail/gdal-dev/2000-October/002986.html on
an earlier version of python.

Migrating to python 2.4 is not an option yet as PrimaGIS dependends on 2.3.x

Any sugestions would be great.


Cheers



More information about the Gdal-dev mailing list