[Bug 37578] Request for Enhancement: please add zlib as a dependency

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 20 13:05:05 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37578

--- Comment #10 from Todd Chester <ToddAndMargo at zoho.com> ---
(In reply to Henri Verbeet from comment #9)
> (In reply to Todd Chester from comment #8)
> > Perfect!  Just put the line for zlib line before the libpng line and no more
> > bogus error about libpng missing when it is actually zlib.
> > 
> It already is, so I'm curious why it didn't trigger for you. The config.log
> would have helped with figuring that out.

Huh.  I will uninstall zlib and re ./configure to try and recreate.  Give me a
few days. 

Also, my config.log, at forty thousand plus lines, your bugzilla won't accept
it.  Will need an alternate upload site.

If you look at the line numbers over at:
https://forum.winehq.org/viewtopic.php?f=8&t=23726

libpng cflags: -I/usr/include/libpng12
configure:12943: libpng libs: -lpng12
configure:12948: checking png.h usability
configure:12948: gcc -m32 -c -g -O2 -I/usr/include/libpng12 conftest.c >&5
configure:12948: $? = 0
configure:12948: result: yes
configure:12948: checking png.h presence
configure:12948: gcc -m32 -E -I/usr/include/libpng12 conftest.c
configure:12948: $? = 0
configure:12948: result: yes
configure:12948: checking for png.h
configure:12948: result: yes

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

It is line 12985 with its "-lz" switch that pops the zlib (libz.so) error.

Is the check for zlib before or after line 12985?

-T

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list