could not read symbols: Bad value

rbenvでruby2.2.1入れようとしたらエラーでた (on centos5.11)

libffi-develを入れて解決

$ sudo yum install libffi-devel

see Build failure of fiddle with Ruby 2.2.0