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

Frank Warmerdam warmerdam at pobox.com
Sun Dec 18 14:54:43 EST 2005


On 12/18/05, Dave Sampson <dr.sampson at sympatico.ca> wrote:
> 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.

Dave,

OGR_G_AddPoint_2D() is a pretty recent.  I suspect you are using
a GDAL 1.3.1 set of python scripts with a GDAL 1.3.0 or earlier
GDAL DLL.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list