Reputation: 13
I'm trying to install Ruby 1.9.3 on Mac OSX 10.6. I have 10.8.7 installed fine already. There are already a bunch of these topics on StackOverflow, but their fixes haven't been working. Here's what the terminal prints out:
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.
And here's the error part of the log it's requesting:
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
I think it has to do with the "file is not of required architecture message." My computer came with 10.6 and is 64-bit.
Upvotes: 1
Views: 152
Reputation: 53178
You have issues with compiling different libraries, I have already solved those issues while building RailsInstaller for OSX => http://railsinstaller.org/
Upvotes: 1