【发布时间】:2020-12-08 15:30:45
【问题描述】:
我已经安装了 miniconda3 gfortran 并在 .bash_profile 中将 DYLD_FALLBACK_LIBRARY_PATH 设置为 /miniconda3/lib。我已经阅读了许多其他答案,但似乎没有任何效果。
gfortran --version
GNU Fortran (GCC) 4.8.5
运行时错误是
dyld: Library not loaded: @rpath/libgfortran.3.dylib
Referenced from: /Users/Liza/Desktop/family/xmas/./a.out
Reason: image not found
【问题讨论】:
-
欢迎您,请拨打tour。如果其他问题和答案不适用,您真的必须向我们提供更多详细信息。他们究竟是如何“不工作”的?如果您想要不同的答案,您必须告诉我们您的情况有何不同。
libgfortran.3.dylib到底在你的电脑上的什么位置? -
我很乐意回答您的问题并提供更多详细信息,但实际上您的回复已经很快指出了问题所在。我在 .bash_profile 中提供了不正确的 libgfortran.3.dylib 路径。非常感谢!问题解决了。我不再收到运行时错误。
标签: conda gfortran macos-catalina