pngfix.c:2182: undefined reference to `inflateReset2′

If you experience compiling error:
pngfix.c:2182: undefined reference to `inflateReset2′
this means the library is missing.

To resolve it, create some environment variables so that the compiler can find the library.

export LDFLAGS="-L/usr/local/lib"
export CPPFLAGS="-I/usr/local/include"

oliver

Leave a Reply

Your email address will not be published. Required fields are marked *


*