https://bugs.winehq.org/show_bug.cgi?id=37578
--- Comment #2 from Todd Chester ToddAndMargo@zoho.com --- Hi Austin,
I do not have the failing config.log anymore. Would you like my 40,000 + line log that worked?
I do have this though:
configure:12960: checking for -lpng configure:12985: gcc -m32 -o conftest -g -O2 -I/usr/include/libpng12 conftest.c -lpng -lpng12 -lm -lz >&5 /usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status
There is more over at: https://forum.winehq.org/viewtopic.php?f=8&t=23726
yum --enablerepo=* install zlib-devel.i686
solved the problem