[gdal-dev] Re: GDAL encounters problem with very small files

Frank Warmerdam warmerdam at pobox.com
Thu Nov 13 12:13:17 EST 2008


Matthieu Rigal wrote:
> Hi all, hi Frank,
> 
> I am encountering problem with gdal_translate and gdalinfo with very little 
> images. I have for example a 9*16 pixels image, georeferenced, 16bits and 
> 8bits, that I have tested in 2 formats : .pix PCIDSK and .tif GTiff.
> 
> And both times, I get errors :
> gdal_translate: symbol lookup error: gdal_translate: undefined symbol: 
> GDALValidateCreationOptions
> gdalinfo: symbol lookup error: gdalinfo: undefined symbol: GDALGetFileList
> 
> I have attached both tif files in 8bits and 16 bits, with the hope it will 
> help. Notice that these images can be open by software like QGis or PCI 
> Geomatica...
> 
> If you have any ideas or if it is a known bug... let me know !

Matthieu,

I tried gdalinfo on the files and it worked fine.  Your Python looked fine.

The error messages seem to indicate an inappropriate mixture of versions.
Presumably recent Python bindings that are trying to pick up an older
version of GDAL lacking some modern entry points.  Does the same configuration
work fine with larger TIFF files?

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