Re: [gdal-dev] LibPNG compatibility issue

2013-08-19 Thread Olivier BARTHELEMY
I submitted a ticket there http://trac.osgeo.org/gdal/ticket/5204 for the macros. About my issue, it turns out i had not added --with-png=, so the compile step used the system's libpng 1.2.10. But my LD_LIBRARY_PATH must have pointed to the directory of my libpng1.6.16, so the code compiled wi

Re: [gdal-dev] LibPNG compatibility issue

2013-08-19 Thread Even Rouault
Selon Olivier BARTHELEMY : > I'm having a strange error when Gdal uses libpng > > Environment : > x86-64 linux > gdal 1.10 > libpng 1.6.2 > > I am getting the following message : > > GDAL (CPLE_NotSupported): The PNG driver failed to in > png_create_read_struct(). > This may be due to version comp

[gdal-dev] LibPNG compatibility issue

2013-08-19 Thread Olivier BARTHELEMY
I'm having a strange error when Gdal uses libpng Environment : x86-64 linux gdal 1.10 libpng 1.6.2 I am getting the following message : GDAL (CPLE_NotSupported): The PNG driver failed to in png_create_read_struct(). This may be due to version compatibility problems. which is in this snippet in