ruby-gtk2-0.19.1 がビルドできない

CentOS 5.3 x86_64 上で挑戦中。

  • fontconfig-2.7.1
  • jasper-1.900.1
  • pixman-0.15.20
  • cairo-1.8.8
  • glib-2.20.4
  • poppler-0.10.7, poppler-data-0.2.1
  • atk-1.26.0
  • pango-1.24.5
  • gtk+-2.16.5

を入れたところで

[ruby-gtk2-0.19.1] $ ruby extconf.rb
   :
        • -
Target libraries: glib, gdkpixbuf, pango, atk, gtk
        • -
Done.

までは来ました。
しかし肝心の make の shared-object の生成時点で

/usr/bin/ld: rbatkhypertext.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
rbatkhypertext.o: could not read symbols: Bad value
collect2: ld はステータス 1 で終了しました

と出て全ターゲットが失敗。

どうも x86_64 環境固有の問題らしいのですが、これという解決策が判っていません。

32bit環境なら通ると思うのですが・・・。