Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-10240

configure: error: cannot find libz

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0, 1.11.0
    • None
    • build
    • 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.

      Attachments

        1. mesos-zlib.patch
          0.5 kB
          Ryan Carsten Schmidt

        Activity

          People

            Unassigned Unassigned
            ryandesign.com Ryan Carsten Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: