Forum: Ruby-core [ruby-trunk - Bug #7479][Open] undefined symbol: rb_thread_blocking_region_begin

Posted by kevinbin (hong bin) (Guest)
on 2012-11-30 10:45
(Received via mailing list)
Issue #7479 has been reported by kevinbin (hong bin).

----------------------------------------
Bug #7479: undefined symbol: rb_thread_blocking_region_begin
https://bugs.ruby-lang.org/issues/7479

Author: kevinbin (hong bin)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9.3


on linux

[root@localhost ~]# ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
[root@localhost ~]# ruby binlog.rb
ruby: symbol lookup error: 
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/ruby-binlog-0.1.8/lib/binlog.so: 
undefined symbol: rb_thread_blocking_region_begin

on mac 10.8.2
[Workbench] ruby binlog.rb 
17:43:12
dyld: lazy symbol binding failed: Symbol not found: 
_rb_thread_blocking_region_begin
  Referenced from: 
/Users/hongbin/.rvm/gems/ruby-1.9.3-p286/gems/ruby-binlog-0.1.8/lib/binlog.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_thread_blocking_region_begin
  Referenced from: 
/Users/hongbin/.rvm/gems/ruby-1.9.3-p286/gems/ruby-binlog-0.1.8/lib/binlog.bundle
  Expected in: flat namespace

[1]    32284 trace trap  ruby binlog.rb


use ruby 1.8.7 is ok
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.