What 's wrong with my fxruby?

pt@pt-laptop:~$ sudo gem install fxruby
Successfully installed fxruby-1.6.20-x86-linux
1 gem installed
Installing ri documentation for fxruby-1.6.20-x86-linux…
Updating class cache with 2834 classes…
Installing RDoc documentation for fxruby-1.6.20-x86-linux…
pt@pt-laptop:~$ irb
irb(main):001:0> require ‘fox16’
LoadError:
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.so:
undefined symbol: rb_thread_pending -
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.so
from
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in
require' from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in<top (required)>’
from (irb):1:in require' from (irb):1 from /usr/local/ruby/bin/irb:12:in
irb(main):002:0>

somen people say ruby1.9 don’t surpport wxruby,so i change into ruby
1.8
there is problem too:
pt@pt-laptop:~$ sudo find / -name ‘fox16’
[sudo] password for pt:
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/ext/fox16
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/lib/fox16
/var/lib/gems/1.8/doc/fxruby-1.6.20-x86-linux/rdoc/files/lib/fox16
pt@pt-laptop:~$ irb
irb(main):001:0> require ‘fox16’
LoadError: no such file to load – fox16
from (irb):1:in `require’
from (irb):1
from :0
irb(main):002:0>

you can see fox16 is installed on my system,but i can’t require
it,why?

On Thu, May 06, 2010 at 02:30:07PM +0900, Pen T. wrote:

LoadError: no such file to load – fox16
from (irb):1:in `require’
from (irb):1
from :0
irb(main):002:0>

you can see fox16 is installed on my system,but i can’t require
it,why?

irb(main):001:0> require ‘fox16’
LoadError: no such file to load – fox16
from (irb):1:in `require’
from (irb):1
from :0
irb(main):002:0> require ‘rubygems’
=> true
irb(main):003:0> require ‘fox16’
=> true
irb(main):004:0>

You first need to load rubygems.

Dan

On Thu, May 6, 2010 at 9:29 AM, Pen T. [email protected] wrote:

undefined symbol: rb_thread_pending -
Resurrecting this thread because I faced the same issue - the solution
is simply to go to fxruby’s rubyforge download page:

http://rubyforge.org/frs/?group_id=300&release_id=41247

And download fxruby-1.6.20-gem (the one labelled “any” rather than
“linux”). Manually downloading and installing this will recompile the
extension from source against ruby 1.9, rather than using the
fxruby-linux gem which is presumably compiled against ruby 1.8.

martin