首页 > 代码库 > Vertica环境安装R-Lang包提示缺少libgfortran.so.1

Vertica环境安装R-Lang包提示缺少libgfortran.so.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: NOKEYPreparing...                ########################################### [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 libgfortranlrwxrwxrwx.  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 libgfortranlibgfortran-4.4.7-3.el6.x86_64# yum install compat-libgfortran-41Loaded plugins: product-id, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package compat-libgfortran-41.x86_64 0:4.1.2-39.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved============================================================================================================================================================ Package                                        Arch                            Version                                  Repository                    Size============================================================================================================================================================Installing: compat-libgfortran-41                          x86_64                          4.1.2-39.el6                             ISO                          126 kTransaction Summary============================================================================================================================================================Install       1 Package(s)Total download size: 126 kInstalled size: 820 kIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning 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 libgforlibgfortran-4.4.7-3.el6.x86_64compat-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 libgfortranlrwxrwxrwx   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.0lrwxrwxrwx.  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

 

Vertica环境安装R-Lang包提示缺少libgfortran.so.1