<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br></div>I have a trouble with my qgis-server.<br></div><br></div>I have a debian stretch version 64bit where the libpng is at 1.6.26 version.<br><br></div>When I compile the gdal from source, it use its internal 1.2.56 version and all is ok.<br><br></div>After, when I go to compile the qgis. Its cmake finding system found the system libpng 1.6.26 and the qgis is compile using it.<br><br></div>But after this, when try to use the qgis-server (wms server) and asking the png images.<br></div>It go in error .<br></div>The log explain me that the <br></div>qgis is compiled using the libpng-1.6.26 but is running using the lib-1.2.56 version (of gdal).<br><br></div>I'm not able to say to qgis to compile using the libpng of gdal, so I like to try to say at the gdal to compile not using its internal version, but instead using the 1.6.26 from system.<br><br></div>I'm not sure this is possible to say using the gdal parameter "--with-png" and also I'm not sure the 1.6.26 version is compatible with gdal 2.2.2.</div><div><br></div><div>Any experience to compile gdal with libpng 1.6.26 ?</div><div><br></div><div>Thx,</div><div>Andrea Peri</div><div><br></div><br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>