pngfix.c:2151: undefined reference to `inflateReset2'
I am trying to install libpng-1.6.6 but when trying to make it is failing giving the below error.
NOTE: I have successfully pre-installed zlib (as well as freetype2) which is supposedly the error is pointing at.
pngfix.o: In function `zlib_reset':
/usr/lib/hue/libpng-1.6.6/contrib/tools/pngfix.c:2151: undefined reference to `inflateReset2'
collect2: ld returned 1 exit status
make: *** [pngfix] Error 1
make: Leaving directory `/usr/lib/hue/libpng-1.6.6'
make: *** [all] Error 2