安装 MEAD 依赖项错误

安装 MEAD 依赖项错误

我正在尝试安装一个名为 MEAD 的程序。在执行

sudo yum localinstall mead-2.2.9-12.1.x86_64.rpm

我明白了:

--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: mead-2.2.9-12.1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: mead-2.2.9-12.1.x86_64
--> Finished Dependency Resolution
Error: Package: mead-2.2.9-12.1.x86_64 (/mead-2.2.9-12.1.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: mead-2.2.9-12.1.x86_64 (/mead-2.2.9-12.1.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: mead-2.2.9-12.1.x86_64 (/mead-2.2.9-12.1.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我是 Linux 新手,真的不知道该怎么做。我尝试手动安装依赖项,但这会导致更多依赖项...

uname -rmi
3.10.0-693.5.2.el7.x86_64 x86_64 x86_64

cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

答案1

我通过使用重建源文件解决了该问题

rpmbuild --rebuild file.src.rpm

然后再次运行 yum localinstall

相关内容