安装
yum install cmake报错
centOS8(x86_64 或 aarch64) 系统下 yum或dnf 默认安装的 cmake-3.18.2-11.el8版本,安装后无法使用,出现: cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd 错误
第一种:
安装 libarchive   
dnf install  libarchive  或者 yum install  libarchive
第二种: 安装低版本或者高版本的 cmake
1.卸载cmake程序
yum remove cmake  或  rpm -e cmake
2.重新安装cmake,
网址:https://cmake.org/download/ 
3.创建软连接
ln -s  /xx-path/cmake   /usr/bin/cmake    
-------------------------------------------
个性签名:代码过万,键盘敲烂!!!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!
    
    
    










