0

我将我的 mac 更新为山狮。现在,当我尝试安装 rubyrvm install 1.9.3​​ 时,出现此错误

linking shared-object tcltklib.bundle
ld: in /usr/local/lib/libbz2.1.0.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [../../.ext/x86_64-darwin12.0.0/tcltklib.bundle] Error 1
make[1]: *** [ext/tk/all] Error 2
make: *** [build-ext] Error 2

我如何更新 libbz2 以纠正架构?

4

1 回答 1

-1

更新 Xcode(到 4.4)。
完成后,从 Xcode => Preferences => Downloads => Command Line Tools 安装命令行工具。然后尝试安装ruby,你会很好。

于 2012-08-20T16:55:35.767 回答