<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I self-compiled QGIS Server (on CentOS 7) and it works fine for GetCapabilities and GetProjectSettings commands, but fails for GetMap.</p>
<p>In the Apache log I get an error:</p>
<p>libpng warning: Application was compiled with png.h from libpng-1.5.13<br />libpng warning: Application is running with png.c from libpng-1.2.56<br />libpng error: Incompatible libpng version in application and library<br /><br /></p>
<p>I checked libpng and there is "libpng-1.5.13" on my machine in /usr/lib64. Within the gdal source tree (also self-compiled) there is a is a second version of libpng, which seems to match libpng-1.2.56</p>
<p>Do you have an idea how I can influence the QGIS server fcgi file to pick up libpng-1.5.13 first?</p>
<p>I tried to set LD_LIBRARY_PATH and set "/usr/lib64" first, so I assumed it picks up the newer version first. But it still fails ...</p>
<p>Does libgdal.so contain the older version of libpng which conflicts?</p>
<p>Thanks,</p>
<p>Andreas</p>
<div> </div>
</body></html>