CentOS 7.7: libgfortran.so.4 not found

Issues related to applications and software problems
Post Reply
samuelandjw
Posts: 2
Joined: 2019/09/25 05:45:45

CentOS 7.7: libgfortran.so.4 not found

Post by samuelandjw » 2019/09/25 05:58:24

I want to install a R package which needs libgfortran.so.4. The installation failed and it complained libgfortran.so.4 cannot be found. I can only find /usr/lib64/libgfortran.so.3 and /usr/lib64/libgfortran.so.3.0.0. I suspected the libgfortran that came with Centos 7.7 is too old. However, when I checked the version of the installed libgfortran, I found that libgfortran-4.8.5-39.el7.x86_64 has been installed and the installed files were located at

Code: Select all

/usr/lib64/libgfortran.so.3
/usr/lib64/libgfortran.so.3.0.0
.

I am confused. Why is the installed libgfortran-4.8.5 named libgfortran.so.3? Shouldn't the file name be libgfortran.so.4?

User avatar
TrevorH
Forum Moderator
Posts: 26864
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7.7: libgfortran.so.4 not found

Post by TrevorH » 2019/09/25 20:33:48

Code: Select all

[root@centos7 ~]# yum provides '*/libgfortran.so.4'
Loaded plugins: priorities
libgfortran4-8.3.1-2.1.1.el7.i686 : Fortran runtime v4
Repo        : base
Matched from:
Filename    : /usr/lib/libgfortran.so.4



libgfortran4-8.3.1-2.1.1.el7.x86_64 : Fortran runtime v4
Repo        : base
Matched from:
Filename    : /usr/lib64/libgfortran.so.4
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

samuelandjw
Posts: 2
Joined: 2019/09/25 05:45:45

Re: CentOS 7.7: libgfortran.so.4 not found

Post by samuelandjw » 2019/09/26 06:51:54

Thanks for the reply.

Post Reply

Return to “CentOS 7 - Software Support”