[MacRuby] #1419: symbol not found: _rb_str_freeze with sequel and mysql gems
MacRuby
ruby-noreply at macosforge.org
Wed Nov 16 08:22:20 PST 2011
#1419: symbol not found: _rb_str_freeze with sequel and mysql gems
----------------------------+-----------------------------------------------
Reporter: jdmuys@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.11
Component: MacRuby | Keywords: crash
----------------------------+-----------------------------------------------
macruby crashes when using the sequel gem with mysql adapter. Here is a
very short sample session in macirb:
$ sudo macgem install mysql
$ sudo macgem install sequel
$ macirb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'sequel'
=> true
irb(main):003:0> DB = Sequel.connect(:adapter => 'mysql', :user => 'root',
:host => 'localhost', :database => 'SAPHY',:password=>'')
=> #<Sequel::MySQL::Database: "mysql://root:@localhost/SAPHY">
irb(main):004:0> DB.tables
dyld: lazy symbol binding failed: Symbol not found: _rb_str_freeze
Referenced from:
/Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_str_freeze
Referenced from:
/Library/Frameworks/MacRuby.framework/Versions/0.12/usr/lib/ruby/Gems/1.9.2/gems/mysql-2.8.1/lib/mysql_api.bundle
Expected in: flat namespace
Trace/BPT trap: 5
$
--
Ticket URL: <http://www.macruby.org/trac/ticket/1419>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list