我正在尝试使用带有sudo rvm install 1.9.3 --universal
命令的 rvm 构建 32 位/64 位版本的 ruby。
失败了,日志文件如下:
linking shared-object tcltklib.bundle
ld: in /usr/local/lib/libxml2.2.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../.ext/universal-darwin11.4.0/tcltklib.bundle] Error 1
make[1]: *** [ext/tk/all] Error 2
make: *** [build-ext] Error 2
消息说 libxml 是用 64 位构建的,但使用它的 tcltk 是 32 位的。可能有什么问题?如何解决这个问题?