libxml-ruby error

mbrtowc 0xf91a
/usr/local/lib/libiconv.a(iconv.o)
qsort 0x103d3
/usr/local/lib/libiconv.a(iconv.o)
qsort 0x10423
/usr/local/lib/libiconv.a(iconv.o)
fopen 0xfc
/usr/local/lib/libiconv.a(localcharset.o)
__filbuf 0x133
/usr/local/lib/libiconv.a(localcharset.o)
__filbuf 0x171
/usr/local/lib/libiconv.a(localcharset.o)
ungetc 0x1a5
/usr/local/lib/libiconv.a(localcharset.o)
fscanf 0x1c1
/usr/local/lib/libiconv.a(localcharset.o)
nl_langinfo 0x328
/usr/local/lib/libiconv.a(localcharset.o)
memcpy 0xee49
/usr/local/lib/libiconv.a(iconv.o)
memcpy 0xf4f0
/usr/local/lib/libiconv.a(iconv.o)
memcpy 0xac
/usr/local/lib/libiconv.a(localcharset.o)
memcpy 0xdd
/usr/local/lib/libiconv.a(localcharset.o)
memcpy 0x7e
/usr/local/lib/libiconv.a(relocatable.o)
memcpy 0x9e
/usr/local/lib/libiconv.a(relocatable.o)
memcpy 0x178
/usr/local/lib/libiconv.a(relocatable.o)
malloc 0x10055
/usr/local/lib/libiconv.a(iconv.o)
malloc 0x94
/usr/local/lib/libiconv.a(localcharset.o)
malloc 0x220
/usr/local/lib/libiconv.a(localcharset.o)
malloc 0x64
/usr/local/lib/libiconv.a(relocatable.o)
malloc 0x15a
/usr/local/lib/libiconv.a(relocatable.o)
strncmp 0x116
/usr/local/lib/libiconv.a(relocatable.o)
free 0x101d2
/usr/local/lib/libiconv.a(iconv.o)
free 0x27e
/usr/local/lib/libiconv.a(localcharset.o)
free 0x305
/usr/local/lib/libiconv.a(localcharset.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libxml_ruby.so'

Gem files will remain installed in
/home/deploy/apps/it/releases/20110816151622/vendor/gems/ruby/1.9.1/gems/libxml-ruby-2.2.1
for inspection.
Results logged to
/home/deploy/apps/it/releases/20110816151622/vendor/gems/ruby/1.9.1/gems/libxml-ruby-2.2.1/ext/libxml/gem_make.out
        from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block
in build_extensions'
        from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
        from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in
`build_extensions'
        from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in
`install'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/source.rb:96:in
`install'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:55:in
`block in run'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in
`block in each'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in
`each'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in
`each'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in
`run'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in
`install'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in
`install'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in
`run'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in
`invoke_task'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in
`dispatch'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in
`start'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle:13:in
`<top (required)>'
        from /opt/local/bin/bundle:19:in `load'
        from /opt/local/bin/bundle:19:in `<main>