[Bug 1631] ./configure errors on missing headers are misleading on Linux

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 7 13:41:36 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1631





--- Comment #1 from Darren Tucker <dtucker at zip.com.au>  2009-08-07 13:41:35 ---
Created an attachment (id=1666)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1666)
Check for header presence for zlib and openssl before checking
llibraries.

Actually the problem is not that the headers are missing since the test
just does a test link against libz looking for "deflate".

The problem is that the .so link to the shared library is missing:

$ rpm -qf /usr/lib/libz.so
zlib-devel-1.2.3-18.fc9.i386

so as far as your linker is concerned, zlib *is* missing since nothing
using -lz is going to work.

There's already a header check which we could maybe move to before the
library check.  I'm opposed to including distro-specific advice in the
configure errors.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list