noreply at rubyforge.org
2009-Mar-04 03:14 UTC
[wxruby-development] [ wxruby-Bugs-24288 ] rb_str2cstr undefined with Ruby 1.9 and Ubuntu Linux
Bugs item #24288, was opened at 2009-03-04 04:14
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=24288&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Thomas Preymesser (thopre)
Assigned to: Nobody (None)
Summary: rb_str2cstr undefined with Ruby 1.9 and Ubuntu Linux
Initial Comment:
Hello,
i run wxruby with Ruby 1.9 and get the following error message:
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86-linux/lib/wx.rb:12:in
`require'':
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86-linux/lib/wxruby2.so:
undefined symbol: rb_str2cstr -
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86-linux/lib/wxruby2.so
(LoadError)
from
/usr/local/lib/ruby/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86-linux/lib/wx.rb:12:in
`<top (required)>''
from ex1.rb:1:in `require''
from ex1.rb:1:in `<main>''
I have tried this simple example program:
require "wx"
include Wx
class MinimalApp < App
def on_init
Frame.new(nil, -1, "The Bare Minimum").show()
end
end
MinimalApp.new.main_loop
-Thomas
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=24288&group_id=35
Maybe Matching Threads
- [ wxruby-Bugs-26918 ] ruby1.9 gem: wxruby2.so: [BUG] unknown type 0x22 (0xc given)
- [ wxruby-Bugs-27716 ] ruby 1.9.1p243 [i386-mingw32] not compile with wxWidgests 2.8.10
- Unable to use wxruby-ruby19 in Ruby 1.9.1-p129 on Windows
- Error when loading wxruby
- Error running Mongrel on Ruby 1.9
