从linux-mint版本18.2的源代码构建Mesos 1.3.0我得到以下消息:
configure: error: cannot find libz
当我尝试使用libz *搜索包时,我会收到许多以libz开头的包名。我应该安装哪一个正确的包?
答案 0 :(得分:1)
尝试安装zlib1g-dev
。它列在the documentation
所以,你应该按照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