MacOSX10.6にRuby1.9.3をインストールしようとしています。10.8.7はすでに正常にインストールされています。StackOverflowにはすでにこれらのトピックがたくさんありますが、それらの修正は機能していません。ターミナルの出力は次のとおりです。
Installing Ruby from source to: /Users/cavan/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...
ruby-1.9.3-p194 - #fetching
ruby-1.9.3-p194 - #extracted to /Users/cavan/.rvm/src/ruby-1.9.3-p194 (already extracted)
ruby-1.9.3-p194 - #configuring
ruby-1.9.3-p194 - #compiling
Error running 'make ', please read /Users/cavan/.rvm/log/ruby-1.9.3-p194/make.log
There has been an error while running make. Halting the installation.
そして、これが要求しているログのエラー部分です:
linking shared-object digest/md5.bundle
compiling rmd160init.c
ld: in /usr/local/lib/libz.1.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make[2]: *** [../../../.ext/x86_64-darwin10.7.0/digest/md5.bundle] Error 1
make[1]: *** [ext/digest/md5/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling rmd160ossl.c
installing default rmd160 libraries
linking shared-object digest/rmd160.bundle
ld: in /usr/local/lib/libz.1.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make[2]: *** [../../../.ext/x86_64-darwin10.7.0/digest/rmd160.bundle] Error 1
make[1]: *** [ext/digest/rmd160/all] Error 2
make: *** [build-ext] Error 2
「ファイルは必要なアーキテクチャメッセージではありません」と関係があると思います。私のコンピュータには10.6が付属しており、64ビットです。