> I have just built a new machine and tried to install qgis . I am
> getting the following error message
> libpng error: application is running with png.c from libpng-1.2.56
> libpng warning: application is compiled with png.h from
> checking the installed library it is reporting as 1.6.34 (the latest
> in the repository)
> As I am not a frequent linux user I do not know how to fix this,
> nothing I have tried has worked. Can anyone suggest how I should
Most probably you have compiled GDAL or something other from source.
In that case, you have to install libpng-dev before self-compiling.