Vertica环境安装R-Lang包提示缺少libgfortran.so.1
2014-10-20 14:45 AlfredZhao 阅读(2413) 评论(1) 编辑 收藏 举报环境:RHEL 6.4 + Vertica 7.0.0-1
1.最终确认安装compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm即可解决.
# rpm -ivh vertica-R-lang-7.0.0-0.x86_64.RHEL5.rpm error: Failed dependencies: /usr/lib64/libgfortran.so.1 is needed by vertica-R-lang-7.0.0-0.x86_64 # rpm -ivh compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm warning: compat-libgfortran-41-4.1.2-39.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Preparing... ########################################### [100%] 1:compat-libgfortran-41 ########################################### [100%] # rpm -ivh vertica-R-lang-7.0.0-0.x86_64.RHEL5.rpm Preparing... ########################################### [100%] 1:vertica-R-lang ########################################### [100%] The Vertica R language package has been successfully installed on host vertica1
2.实际解决过程:
# rpm -ivh vertica-R-lang-7.0.0-0.x86_64.RHEL5.rpm error: Failed dependencies: /usr/lib64/libgfortran.so.1 is needed by vertica-R-lang-7.0.0-0.x86_64 # ls -lh /usr/lib64 |grep libgfortran lrwxrwxrwx. 1 root root 20 3月 19 2014 libgfortran.so.3 -> libgfortran.so.3.0.0 -rwxr-xr-x. 1 root root 965K 10月 19 2012 libgfortran.so.3.0.0 # rpm -qa libgfortran libgfortran-4.4.7-3.el6.x86_64 # yum install compat-libgfortran-41 Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package compat-libgfortran-41.x86_64 0:4.1.2-39.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================ Installing: compat-libgfortran-41 x86_64 4.1.2-39.el6 ISO 126 k Transaction Summary ============================================================================================================================================================ Install 1 Package(s) Total download size: 126 k Installed size: 820 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : compat-libgfortran-41-4.1.2-39.el6.x86_64 1/1 Verifying : compat-libgfortran-41-4.1.2-39.el6.x86_64 1/1 Installed: compat-libgfortran-41.x86_64 0:4.1.2-39.el6 Complete! # rpm -qa|grep libgfor libgfortran-4.4.7-3.el6.x86_64 compat-libgfortran-41-4.1.2-39.el6.x86_64 # rpm -ivh vertica-R-lang-7.0.0-0.x86_64.RHEL5.rpm Preparing... ########################################### [100%] 1:vertica-R-lang ########################################### [100%] The Vertica R language package has been successfully installed on host vertica2 # ls -lh /usr/lib64/ |grep libgfortran lrwxrwxrwx 1 root root 20 10月 20 13:54 libgfortran.so.1 -> libgfortran.so.1.0.0 -rwxr-xr-x 1 root root 820K 6月 28 2010 libgfortran.so.1.0.0 lrwxrwxrwx. 1 root root 20 3月 19 2014 libgfortran.so.3 -> libgfortran.so.3.0.0 -rwxr-xr-x. 1 root root 965K 10月 19 2012 libgfortran.so.3.0.0
AlfredZhao©版权所有「从Oracle起航,领略精彩的IT技术。」
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 深入理解 Mybatis 分库分表执行原理
· 如何打造一个高并发系统?
· .NET Core GC压缩(compact_phase)底层原理浅谈
· 现代计算机视觉入门之:什么是图片特征编码
· .NET 9 new features-C#13新的锁类型和语义
· 手把手教你在本地部署DeepSeek R1,搭建web-ui ,建议收藏!
· Spring AI + Ollama 实现 deepseek-r1 的API服务和调用
· 数据库服务器 SQL Server 版本升级公告
· C#/.NET/.NET Core技术前沿周刊 | 第 23 期(2025年1.20-1.26)
· 程序员常用高效实用工具推荐,办公效率提升利器!