lib版本和目录

时间:2014-07-29 09:31:18

标签: r bash gcc command-line-interface

我试着称之为:

iMac-O:AppDirectory ME$ Rscript -e 'shiny:runApp( launch.browser=TRUE)'

答案:

dyld: Library not loaded: /usr/local/lib/gcc/x86_64-apple-darwin13.2.0/4.8.3/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.1.1/R.framework/Versions/3.1/Resources/lib/libR.dylib
Reason: image not found
Trace/BPT trap: 5

在目录lib/gcc/x86_64-apple-darwin13.2.0/

版本“4.9.1”不是“4.8.3”。我该怎么做“正确的电话”?

1 个答案:

答案 0 :(得分:3)

我也有一个非常相似的问题。

dyld: Library not loaded: /usr/local/lib/gcc/4.9/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.1.3/R.framework/Versions/3.1/Resources/lib/libR.dylib
Reason: image not found
Trace/BPT trap: 5

我认为这与我自己安装的gcc有关。什么对我有用:

export DYLD_LIBRARY_PATH=/usr/local/Cellar/gcc/4.9.2_1/lib/gcc/4.9/