lylejohnson / fxruby

FXRuby is an extension module for Ruby that provides an interface to the FOX GUI toolkit.
http://www.fxruby.org/
51 stars 5 forks source link

fox16.so: undefined symbol: rb_thread_pending #3

Closed alessioalex closed 12 years ago

alessioalex commented 13 years ago

I have Ubuntu 11.04.

I have done exactly what you say here: https://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment

When I require fox16 I get this:

/home/alessio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in require': /home/alessio/.rvm/gems/ruby-1.9.2-p290/gems/fxruby-1.6.20-x86-linux/lib/fox16.so: undefined symbol: rb_thread_pending - /home/alessio/.rvm/gems/ruby-1.9.2-p290/gems/fxruby-1.6.20-x86-linux/lib/fox16.so (LoadError) from /home/alessio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:inrescue in require' from /home/alessio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in require' from /home/alessio/.rvm/gems/ruby-1.9.2-p290/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in<top (required)>' from internal:lib/rubygems/custom_require:33:in require' from <internal:lib/rubygems/custom_require>:33:inrescue in require' from internal:lib/rubygems/custom_require:29:in require' from fxruby_test.rb:3:in

'

larskanis commented 12 years ago

This seems to be the binary Linux gem. You may use: gem install fxruby --platform ruby

You also could test the new pre-release: gem install fxruby --prerelease