[MacRuby-devel] symbol not found: _rb_str_freeze

Jean-Denis MUYS jdmuys at kleegroup.com
Wed Nov 16 07:33:10 PST 2011


Hi,

I have a big showstopper with my app: sequel with the mysql gem fails with the following error message:

dyld: Symbol not found: _rb_str_freeze
Referenced from: /Library/Frameworks/MacRuby.frameword/[…]/mysql_api.bundle

This is mentioned on the net on the sequel project back in february. The diagnostic of the sequel developer was that this is a bug in MacRuby.

I am using MacRuby nightly latest as of November 17, 2011, which reports its version as 0.12
I have mysql gem version 2.8.1
I have sequel gem version 3.29.0

Steps to reproduce in macirb:

	require 'ruby gems'
	require 'sequel'
	DB = Sequel.connect(:adapter => 'mysql', :user => 'root', :host => 'localhost', :database => 'test', :password => 'your password')
	DB.tables

Is there any workaround/ easy fix?

I would appreciate any suggestion, including of alternate gems to use.

Jean-Denis



More information about the MacRuby-devel mailing list