Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.0, 1.11.0
-
None
-
None
-
macOS 12.6.7
Xcode 13.2.1
Apple clang version 13.0.0 (clang-1300.0.29.30)
Description
mesos fails to configure:
checking for zlib.h... yes
checking for deflate, gzread, gzwrite, inflate in -lz... no
configure: error: cannot find libz
-------------------------------------------------------------------
libz is required for Mesos to build.
-------------------------------------------------------------------
I don't think the zlib configure check is correct. According to autoconf documentation, the second argument of AC_CHECK_LIB is a function name, not a comma-separated list of function names. It also says AC_CHECK_LIB "should be avoided in some common cases", suggesting AC_SEARCH_LIBS be used instead.