Can not compile fortran because dyld: Library not loaded

谁说我不能喝 提交于 2019-12-24 03:07:32

问题


~$ gfortran hello.f
dyld: Library not loaded: /usr/local/lib/libcloog-isl.4.dylib
  Referenced from: /usr/local/Cellar/gcc/4.9.2/libexec/gcc/x86_64-apple-darwin14.0.0/4.9.2/f951
  Reason: image not found
gfortran: internal compiler error: Trace/BPT trap: 5 (program f951)
Abort trap: 6

I just installed gcc using by brew and according to the error message how to solve this problem?


回答1:


Sorry, I have to answer my question because i just figured out my problem by just reinstall cloog

Commmand:

brew rm cloog
brew install cloog

Hope this help! for some people have a problem like me.

I think this problem is related to upgrading of Mac OSX Yosemite and also a GCC because nowadays if you want to install gfortran you just type brew install gcc not brew install gfortran, brew notes that gfortran was included to gcc for installation package already.



来源:https://stackoverflow.com/questions/26950421/can-not-compile-fortran-because-dyld-library-not-loaded

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!