如何在Ubuntu 16.06上安装libgfortran.so.4 [英] How to install libgfortran.so.4 on ubuntu 16.06

查看:765
本文介绍了如何在Ubuntu 16.06上安装libgfortran.so.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的应用程序刚刚更新,并且不再在我的系统上运行.当我尝试运行该应用程序时,出现错误:error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

An app I use just updated and it no longer runs on my system. When I try to run the application I get the error: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

我查看了系统,只有libgfortran.so.3可用.你知道我也应该怎么做才能拥有下一个版本吗?我应该安装哪个软件包? (我的系统是ubuntu 16.04)

I looked on my system and only libgfortran.so.3 is available. Do you know what should I do to have the next version also? Which package should I install? (my system is ubuntu 16.04)

推荐答案

对于因此,您必须安装GCC 7(包括Fortran部分),其中包括libgfortran 4.

So you must install GCC 7 including the Fortran part, that includes libgfortran 4.

在其他StackExchange网站上有描述如何执行此操作的答案:

There are answers describing how to do that at other StackExchange sites:

  • Answer 1
  • Answer 2
  • Answer 3

这篇关于如何在Ubuntu 16.06上安装libgfortran.so.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆