【发布时间】:2013-03-29 10:12:29
【问题描述】:
我正在运行 Mac OS X 10.6 并想安装适用于 Mac OS X 10.7+ 的 TextMate 2。
但它所需要的只是更新版本的 clang (LLVM),它包含在 Lion 和 Mountain Lion 中。我之前读过here 我可以用MacPorts 做到这一点。所以我使用port install clang 和MacPorts 更新到clang-2.9,然后是clang-3.2,最后是clang-3.3。我想,它现在更新了,我检查了版本:clang --version。而且它没有更新:
Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin10
Thread model: posix
So I copied the new clang file in this path (/opt/local/libexec/llvm-3.3/bin) to/usr/bin`。但是现在失败了:(:
dyld: Library not loaded: @executable_path/../lib/libLLVM-3.3svn.dylib
Referenced from: /usr/bin/clang
Reason: image not found Trace/BPT trap
libLLVM-3.3svn.dylib 位于/opt/local/libexec/llvm-3.3/lib。我现在能做什么,那
它运行clang-3.3?对不起,我的英语不完美;)谢谢!
【问题讨论】: