[gdal-dev] gdal_polygonize.py

Jeff Lake admin at michiganwxsystem.com
Sun Sep 23 13:08:05 PDT 2012


Yes I can ..
but have a feeling its running 1.8.0 I installed earlier from RPM
is there going to be a 1.9.1 RPM for el5 ??

-Jeff Lake
MichiganWxSystem.com
AllisonHouse.com
TheWeatherCenter.net
GRLevelXStuff.com

On 9/23/2012 15:59, Etienne Tourigny wrote:
> 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
> _______________________________________________
> 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