On 16.10.2010 11:20, egervari wrote:
> http://rohitarondekar.com/articles/installing-rails3-beta3-on-ubuntu-using-rvm

I've 10.10 on x64 here, I followed the guide with some exceptions and it
worked out of the box.

The exceptions were: I didn't use "rvm pacakge ..." (why should I?), nor
the extra parameters to "rvm install ...". And for "gem install" I left
out the --pre, it's been released in the meantime. In other words:
compiling ruby 1.9.2-head worked.
> 
> Looking in the log file, this is where it bombs (This is from line
> 1374+):
[...]
>    /usr/bin/ld: cannot find /lib: File format not recognized
>    collect2: ld returned 1 exit status
>    make[1]: *** [../../../.ext/x86_64-linux/digest/md5.so] Error 1
>    make: *** [mkmain.sh] Error 1

That's weird, in my logfile it looks like this:

generating enc/trans/utf_16_32.c ...
converter for from_UTF_16LE
converter for from_UTF_32LE
converter for from_UTF_16BE
converter for from_UTF_32BE
converter for from_UTF_8
done.  (0.03user 0.01system 0.02elapsed)
ffi.h is missing. Please install libffi.
ossl_hmac.c: In function °∆ossl_hmac_hexdigest°«:
ossl_hmac.c:162: warning: comparison between signed and unsigned integer
expressions

I.e. it just goes on with trying to compile ffi, etc.

I'd would give it a try without those extra parameters.

HTH,
- Markus