Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lib version and directory

I try to call this:

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

Answer:

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

In dir lib/gcc/x86_64-apple-darwin13.2.0/.

there is version "4.9.1" not "4.8.3". What could I do to do the "right call"?

like image 527
Teletubbi-OS X Avatar asked Apr 25 '26 00:04

Teletubbi-OS X


1 Answers

I also had a very similar issue.

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

I believe it is related to my gcc having been installed by homebrew. What worked for me:

export DYLD_LIBRARY_PATH=/usr/local/Cellar/gcc/4.9.2_1/lib/gcc/4.9/
like image 55
Climbs_lika_Spyder Avatar answered Apr 26 '26 17:04

Climbs_lika_Spyder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!