> Here's the output from 'ldd' of /usr/local/bin/ruby:
>
>         libdl.so.2 => /lib/libdl.so.2 (0x200000000005c000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x2000000000078000)
>         libm.so.6.1 => /lib/tls/libm.so.6.1 (0x20000000000c0000)
>         libc.so.6.1 => /lib/tls/libc.so.6.1 (0x2000000000154000)
>         /lib/ld-linux-ia64.so.2 => /lib/ld-linux-ia64.so.2
> (0x2000000000000000)

Looks okay to me.  My binary also links against /usr/lib/libruby18.so, but
it looks like yours is statically built in.

Does your test program fail in the same way if you don't use irb, but
instead just run it through ruby?  Have you tried running any of the test
programs that came bundled in the ruby .tar.gz (in the test subdirectory,
I believe) ?