【问题标题】:configure: error: cannot find libz配置:错误:找不到libz
【发布时间】:2017-07-25 10:26:18
【问题描述】:

从 linux-mint 版本 18.2 上的源构建 Mesos 1.3.0 我收到以下消息:

configure: error: cannot find libz

当我尝试搜索以 libz* 开头的包时,我得到许多以 libz 开头的包名称。哪个是我应该安装的正确软件包?

【问题讨论】:

    标签: mesos linux-mint


    【解决方案1】:

    尝试安装zlib1g-dev。它列在the documentation


    Linux Mint 18.2 is based on Ubuntu 16.04.

    因此,您应该按照 Ubuntu 的说明进行操作 16.04.

     # Update the packages.
     $ sudo apt-get update
    
     # Install a few utility tools.
     $ sudo apt-get install -y tar wget git
    
     # Install the latest OpenJDK.
     $ sudo apt-get install -y openjdk-8-jdk
    
     # Install autotools (Only necessary if building from git repository).
     $ sudo apt-get install -y autoconf libtool
    
     # Install other Mesos dependencies.
     $ sudo apt-get -y install build-essential python-dev python-six python-virtualenv libcurl4-nss-dev libsasl2-dev libsasl2-modules maven libapr1-dev libsvn-dev zlib1g-dev
    

    【讨论】:

      猜你喜欢
      • 2021-01-10
      • 2019-09-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多