error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

在 centos上,报错:error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

 

解决方案:

添加软件源并手动安装

对于 CentOS8,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/home:aevseev:devel/CentOS8/home:aevseev:devel.repo
yum install libatomic1
对于 CentOS7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/home:aevseev:devel/CentOS7/home:aevseev:devel.repo
yum install libatomic1

参考:
https://software.opensuse.org/download/package?package=libatomic1&project=home%3Aaevseev%3Adevel
posted @ 2021-10-03 13:23  parkdifferent  阅读(4282)  评论(0编辑  收藏  举报