[英]How to fix octave Library not loaded and Abort trap: 6 bug?
Whenever I try to run octave: 每当我尝试运行八度时:
$ octave
I get this error: 我收到此错误:
dyld: Library not loaded: /usr/local/opt/hwloc/lib/libhwloc.15.dylib
Referenced from: /usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib
Reason: image not found
Abort trap: 6
How do I fix this? 我该如何解决?
Details: 细节:
Operating system: macOS. 操作系统:macOS。
Octave installed via homebrew command - brew install octave
通过Homebrew命令
brew install octave
Note- I tried to run brew reinstall --build-from-source octave, 注意-我尝试运行brew reinstall --build-from-source octave,
But it freezes midway at: 但它在以下位置冻结:
==> ./configure --prefix=/usr/local/Cellar/octave/5.1.0_4 --disable-silent-rules ==> ./configure --prefix = / usr / local / Cellar / octave / 5.1.0_4 --disable-silent-rules
==> make all ==>全部制作
Make sure hwloc
is installed by typing brew install hwloc
in your terminal. 确保
hwloc
通过键入安装brew install hwloc
在你的终端。
If that doesn't work, try navigating to the directory its looking for the file in your terminal: 如果这不起作用,请尝试导航至目录以在终端中查找文件:
cd /usr/local/opt/hwloc/lib/
ls
Look for a similar library and make a copy of it, renaming it to libhwloc.15.dylib
. 寻找类似的库,并制作一个副本,将其重命名为
libhwloc.15.dylib
。 If there is a file called libhwloc.5.dylib
type 如果有一个名为
libhwloc.5.dylib
的文件,请输入
cp libhwloc.5.dylib libhwloc.15.dyli
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.