gpt4 book ai didi

matlab - libgfortran : version `GFORTRAN_1.4' not found

转载 作者:太空宇宙 更新时间:2023-11-03 19:13:48 25 4
gpt4 key购买 nike

当我尝试在 MATLAB 中运行 mex 文件时出现以下错误:

??? Invalid MEX-file
'findimps3.mexa64':
/MATLAB/bin/glnxa64/../../sys/os/glnxa64/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /usr/lib/libblas.so.3gf)

有什么办法解决这个问题吗?

更新:我发现“strings MATLAB/.../libgfortran.so.3 | grep GFORTRAN”输出 GFORTRAN_1.0。我试图在 MATLAB 中更改 libgfortran,但没有成功。不是 我认为最好找到一个适合 GFORTRAN_1.0 的 libblas。

最佳答案

阅读this link ,它解释了如何在某些 linux 系统上配置 matlab。

此处是与您相关的步骤:

To enable running external programs, […] fortran libraries need to be properly updated and linked. Look at the output of this command:

ll "$MATLABDIR/bin/glnxa64/"

It is likely that [this link] exist:

libgfortran.so.3 -> libgfortran.so.3.0.0

Search for [this library] on your machine:

locate libgfortran.so

[…] Update Matlab's links to point to these newer versions:

sudo ln -sf [location of libgfortran.so.3.0.0] "$MATLABDIR/bin/glnxa64/libgfortran.so.3"

关于matlab - libgfortran : version `GFORTRAN_1.4' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9628273/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com