Given the differences between the ia32 and x86_64 architectures I suppose this is impossible, but just to verify: is it indeed impossible to use a 32-bit C library in a 64-bit Ruby process using FFI? Would the best solution to this problem be to run a separate 32-bit Ruby process with a DRb server and access the library from the 64-bit Ruby process using DRb?