i18nema
i18nema copied to clipboard
Symbol not found error (syck 1.0.3, OSX)
When running I18nema with Syck 1.0.3 (just released a couple weeks ago), I encountered the following error on Mac OSX when starting a Rails server (the same application still works properly on Ubuntu distributions):
=> Booting WEBrick
=> Rails 4.2.0.alpha application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
dyld: lazy symbol binding failed: Symbol not found: _rb_id2sym
Referenced from: /Users/[user]/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/syck-1.0.3/lib/syck.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_id2sym
Referenced from: /Users/[user]/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/syck-1.0.3/lib/syck.bundle
Expected in: flat namespace
Trace/BPT trap: 5
Not sure if it's an internal issue with the Syck library or I18nema's use of it. Either way, a compound gemspec dependency excluding v1.0.3 like ['~> 1.0.0', '< 1.0.3']
should handle it.
which version of ruby are you using? I'm using i18nema 0.0.7 + syck 1.0.3 + ruby 2.1.2 just fine on OS X Yosemite preview 3. Also, i18nema 0.0.8 + syck (tenderlove/syck) + ruby trunk (as of about a week ago), with some extra help manually compiling 18nema (I can't remember what I had to do)
i18nema 0.0.8, and ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.1]
. We trigger the crash in our application by modifying only the Syck dependency version in Gemfile.lock from 1.0.1 to 1.0.3.
I'm getting a similar error when trying to run bundle console
from within our canvas-lms installation. Mac OS X 10.9.4, system ruby (ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13])
± sfu on cap3(cec50ae::2 hours ago) ✖ bundle console
Ruby 2.0 support is untested
Resolving dependencies.....
dyld: lazy symbol binding failed: Symbol not found: _rb_id2sym
Referenced from: /Users/grahamb/Dropbox/code/sfu/canvas/sfu/vendor/bundle/ruby/2.0.0/gems/syck-1.0.3/lib/syck.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_id2sym
Referenced from: /Users/grahamb/Dropbox/code/sfu/canvas/sfu/vendor/bundle/ruby/2.0.0/gems/syck-1.0.3/lib/syck.bundle
Expected in: flat namespace
[1] 62427 trace trap bundle console
± sfu on cap3(cec50ae::2 hours ago) ✖ ruby --version
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]