It appears that the libpng issue is not resolved simply by adding the linker flag. The problem, at least in my case, is the use of libpng version 1.6.29. Versions of libpng >= 1.6.26 apparently require zlib version 1.2.8.1 or higher (inflateValidate isn't officially listed until 1.2.9, but was appar...