无法在Mac OSX上升级八度音阶

时间:2016-05-19 19:19:19

标签: macos homebrew octave

我尝试过通过自制程序更新GNU Octave。但是,我收到以下错误:

adamg:~ adamg$ brew install octave
==> Installing octave from homebrew/science
Error: You must `brew link gmp lua` before homebrew/science/octave can be installed
adamg:~ adamg$ brew link gmp lua
Linking /usr/local/Cellar/gmp/6.0.0a... 
Error: Could not symlink include/gmpxx.h
Target /usr/local/include/gmpxx.h
already exists. You may want to remove it:
  rm '/usr/local/include/gmpxx.h'

To force the link and overwrite all conflicting files:
  brew link --overwrite gmp

To list all files that would be deleted:
  brew link --overwrite --dry-run gmp
adamg:~ adamg$ rm '/usr/local/include/gmpxx.h'
adamg:~ adamg$ brew link gmp lua
Linking /usr/local/Cellar/gmp/6.0.0a... 
Error: Could not symlink share/info/gmp.info
Target /usr/local/share/info/gmp.info
already exists. You may want to remove it:
  rm '/usr/local/share/info/gmp.info'

To force the link and overwrite all conflicting files:
  brew link --overwrite gmp

To list all files that would be deleted:
  brew link --overwrite --dry-run gmp

之前我可以使用八度音,但它正在加载版本3.8.1。现在当我尝试加载它时,我收到以下错误

adamg:~ adamg$ octave
dyld: Library not loaded: /usr/local/lib/libhdf5.9.dylib
  Referenced from: /usr/local/Cellar/octave/3.8.1_1/bin/octave-cli-3.8.1
  Reason: image not found
Trace/BPT trap: 5

对出现问题的任何见解?我正在运行OSX 10.11.5。

0 个答案:

没有答案