【发布时间】:2020-11-18 01:18:02
【问题描述】:
我想运行在 tcsh 环境中编写的 GMT 文件。当我运行它时,我收到以下错误消息:
dyld: Library not loaded: /opt/local/lib/libhdf5.100.dylib
Referenced from: /opt/local/lib/gmt4/bin/gmtset
Reason: image not found
我去了 /opt/local/lib 路径,确实,正在安装 libhdf5.103.dylib,而不是 libhdf5.100.dylib。我没有找到使用 port 或 brew 重新安装 libhdf5.100.dylib 的方法。
后者不起作用:
sudo port install libhdf5-100
sudo port install libhdf5.100
sudo port install libhdf5.100.dylib
我已经试过了:
brew reinstall osgeo-gdal --build-from-source
但是,这不起作用。我有以下问题:
Warning: You are using macOS 10.11.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
qt: macOS Sierra or newer is required.
Error: An unsatisfied requirement failed this build.
你有什么想法吗? 谢谢。
【问题讨论】:
标签: hdf5 gdal macports gmt dyld