我正在设置Linux RedHat服务器,在安装过程中我使用此命令
./install.sh --target=/home/admin/Plone --build-python zeo
显示错误:
Unable to find libz library and headers. These are required to build Python.
Please use your system package or port manager to install libz dev.
(Debian/Ubuntu zlibg-dev)
Exiting now.
答案 0 :(得分:1)
检查依赖项并安装它们。在你的情况下,我想:
yum install zlib-devel
通常,您希望安装所需库的-devel
个包。此外,您应该已经安装了"开发工具"包
yum groupinstall 'Development Tools'
使用
搜索包裹yum search package-name
或二进制文件
yum whatprovides wantedBinary