Le dimanche 23 septembre 2012 19:57:50, Jeff Lake a écrit : > am I missing something here?? > installed gdal 1.9.1 from source > configure vars .. > ./configure --with-python --with-geos --with-grass --with-mysql > > but trying to run gdal_polygonize.py > I get the following > > > > Traceback (most recent call last): > File "/usr/local/bin/gdal_polygonize.py", line 34, in ? > import gdal, ogr, osr > File > "/usr/lib64/python2.4/site-packages/GDAL-1.9.1-py2.4-linux-x86_64.egg/gdal. > py", line 2, in ? > from osgeo.gdal import deprecation_warn > File > "/usr/lib64/python2.4/site-packages/GDAL-1.9.1-py2.4-linux-x86_64.egg/osgeo > /__init__.py", line 24, in ? > import _gdal > ImportError: > /usr/lib64/python2.4/site-packages/GDAL-1.9.1-py2.4-linux-x86_64.egg/osgeo/ > _gdal.so: undefined symbol: VSIFTruncateL > > > this is my first time playing with python... so any pointers
Looks like the Python bindings cannot find libgdal.so (or not the one from GDAL 1.9.1, but another GDAL version) Make sure that the directory of libgdal.so 1.9.1 is in your ld.so.conf or in LD_LIBRARY_PATH _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
