Failed to load ferret_ext.bundle on mac os x

I have found very little information about this problem on the net, so i
thought someone here might be able to help me.

I am running mac os x 10.4 on a powerbook and have installed ruby 1.8.6
and
was trying to get ferret to work, without any success.
Here is exactly what i did and what happened:

$ sudo gem install ferret
Updating metadata for 125 gems from http://gems.rubyforge.org


complete
Building native extensions. This could take a while…
Successfully installed ferret-0.11.6
1 gem installed
Installing ri documentation for ferret-0.11.6…
Installing RDoc documentation for ferret-0.11.6…
$ ruby ferret_test.rb
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle:
Failed to load
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' from /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret.rb:25 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in gem_original_require’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require’
from ferret_test.rb:2

The ferret_test.rb includes the following lines:
require ‘rubygems’
require ‘ferret’
include Ferret

The ferret_ext.bundle file does exist but i am guessing it might not
have
been properly compiled. I opened it afterwards and it contains some
error
message that seem to not belong there.
I do have gcc (4.0.1) and make etc. installed. The Powerbook is
obviously
not an intel mac but in the .bundle-file i found this, i am not sure if
that
helps to find out what the problem is:

*ERROR: POSH double precision floating point serialization failed.
Please
report this to [email protected]!
OS:…MacOS X
CPU:…Intel 386+
endian:…little
ptr size:…32-bits
64-bit ints…yes
floating point…enabled
compiler…Gnu GCC

Please help!

Patrick

Did you install gcc manually or did you get it when you installed the
apple developer tools?

-Jeremy

I am going to assume you also have an up to date version of rubygems
right? I will try to install it on one of my old eMacs in about an
hour and will let you know how it goes.

-Jeremy

I got it with the installation of the apple dev tools.

$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure
–disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
–enable-languages=c,objc,c++,obj-c++
–program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
–with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
–build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
–target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

Patrick

Am 27.02.2008 20:59 Uhr schrieb “Jeremy Canady” unter
[email protected]: