[gdal-dev] gdal_polygonize.py

Etienne Tourigny etourigny.dev at gmail.com
Sun Sep 23 12:59:35 PDT 2012


Also, can you run any of the executables like gdalinfo?

On Sun, Sep 23, 2012 at 3:02 PM, Even Rouault
<even.rouault at mines-paris.org> wrote:
> 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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list