4. 安装中的错误
4.1 /bin/ld: cannot find -lz
/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[2]: *** [storage/tokudb/ft-index/ft/libft.so] Error 1
make[1]: *** [storage/tokudb/ft-index/ft/CMakeFiles/ft.dir/all] Error 2
make: *** [all] Error 2
原因:缺少zlib开发包
解决:
1
|
yum -y install zlib zlib-devel
|