安装x64 gfortran二进制文件 - libisl.so的问题

时间:2015-06-26 18:48:01

标签: gcc fortran gfortran

我试图在一个相当锁定的虚拟机上安装gfortran(需要构建Julia)。按照说明here我已经将所有内容提取到gcc-trunk,将gcc-trunk / bin添加到路径中并且gfortran --version正常工作。但是,每当我尝试使用它时,我都会遇到错误

bash-3.00$ gfortran hello.f90
/path/to/gcc-trunk/bin/../libexec/gcc/x86_64-unknown-linux-gnu/6.0.0/f951: error while loading shared libraries: libisl.so.13: cannot open shared object file: No such file or directory
bash-3.00$ echo $LD_LIBRARY_PATH
/path/to/gcc-trunk/lib64

其中/ path / to是实际的(相当长的路径)。 libisl.so.13不在该目录中,但它包含在gcc-5-infrastructure文件中。我从中抓取了库并将它们添加到lib64文件夹中。现在我收到以下错误

bash-3.00$ gfortran hello.f90
/path/to/gcc-trunk/bin/../libexec/gcc/x86_64-unknown-linux-gnu/6.0.0/f951: error while loading shared libraries: /path/to/gcc-trunk/lib64/libisl.so.13: file too short

该文件仅包含文本" libisl.so.13.1.0"这是同一目录中的另一个文件,大小为1.5 MB。还有什么我需要确保gfortran指向第二个文件吗?

0 个答案:

没有答案