[gdal-dev] Problem with gdal_polygonize.py

Mario Cavicchi cavicchi at ferrara.linux.it
Mon Oct 6 10:47:29 EDT 2008


Hi all,
I compilated GDAL from repository (rev. 15462), because I want to use
the gdal_polygonize.py utility. I used option --with-ogpython for make
GDAL, because with --with-python I had some problem in compilation (I
use python 2.5.2). Now, if I try to use gdal_polygonize.py, I get this
error:

$ gdal_polygonize.py
Traceback (most recent call last):
  File "/usr/local/bin/gdal_polygonize.py", line 34, in <module>
    import gdal
  File "/usr/local//lib/python2.5/site-packages/gdal.py", line 2, in
<module>
    from osgeo.gdal import deprecation_warn
  File "/usr/local//lib/python2.5/site-packages/osgeo/gdal.py", line 7,
in <module>
    import _gdal
ImportError: /usr/local/lib/python2.5/site-packages/osgeo/_gdal.so:
undefined symbol: GDALPolygonize

How I can fix this error? Thank for any suggestions..
Best regards,

-- 
Ciao,
        Mario

[ Web Info: http://members.ferrara.linux.it/cavicchi ]


More information about the gdal-dev mailing list