<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 David,</p>
<p>Thanks - I am aware that there are packages. But there are two main reasons why I want to self-compile:</p>
<p>* being able to use certain configuration options or supporting databases that are not supported by the standard package (such as Oracle support)</p>
<p>* being able to test new features from github regularly</p>
<p>I still haven't fixed the issue with the two incompatible libpng. Seems to be more a runtime issue with Apache fcgi and LD_LIBRARY_PATH. BTW: output as JPEG works fine ...</p>
<p>I will post again if I was able to fix the issue.</p>
<p>Thanks,</p>
<p>Andreas</p>
<p>On 2016-08-11 05:24, Dave Johansen wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">QGIS is packaged in EPEL, so that would be another option.<br /><a href="https://admin.fedoraproject.org/pkgdb/package/rpms/qgis/">https://admin.fedoraproject.org/pkgdb/package/rpms/qgis/</a></div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Wed, Aug 10, 2016 at 10:17 AM, Neumann, Andreas <span><<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div 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>
</div>
<br />______________________________<wbr />_________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/<wbr />mailman/listinfo/qgis-<wbr />developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/<wbr />mailman/listinfo/qgis-<wbr />developer</a></blockquote>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>