我正在尝试在Snow Leopard上安装Ruby 1.9.2并且出现了臭名昭着的问题。我说的很有名,因为我在网上发现了很多类似的问题,但还没有找到解决方案。
尝试从RVM安装或直接编译时,我收到很多像这样的警告
tcltklib.c:8143: warning: implicit conversion shortens 64-bit value into a 32-bit value
并在结束时出现此错误
/usr/local/lib/libsqlite3.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
我尝试在.bash_profile文件中设置ARCHFLAGS =“ - arch x86_64”,然后重新安装sqlite3。
有什么想法吗?
答案 0 :(得分:1)
尝试将sqlite3安装为64位,如下所述:
http://www.markhneedham.com/blog/2010/07/08/installing-ruby-1-9-2-with-rvm-on-snow-leopard/