我有一个废墟,我用1.9瓦 rub来开发,我工作。 然而,在我试图管理时,它用的是1.8瓦 rub。
dyld: lazy symbol binding failed: Symbol not found: _RBIGNUM_SIGN
Referenced from: /Users/Adrian/Desktop/num_to_bytes/ext/num_to_bytes/num_to_bytes.bundle
Expected in: flat namespace
dyld: Symbol not found: _RBIGNUM_SIGN
Referenced from: /Users/Adrian/Desktop/num_to_bytes/ext/num_to_bytes/num_to_bytes.bundle
Expected in: flat namespace
Trace/BPT trap
如果我对使用<条码>的条码表示意见,那么它就抱怨其他功能,例如<条码>rb_big_modulo。 某些工作,如<代码>NUM2LONG。 我在此试图:
- In http://github.com/ruby/ruby/blob/ruby_1_8_7/ruby.h,
RBIGNUM_SIGN
is defined. But in all versions of ruby I have tried, it is not there. - I guessed that maybe it was defined in a different .h file. Knowing that Hpricot works with 1.8, I looked at http://github.com/hpricot/hpricot/blob/master/ext/hpricot_scan/hpricot_scan.h. It doesn t include any other files that #define it.
- Putting things like
extern VALUE rb_big_modulo(VALUE x);
at the beginning of my extension don t help. - Using a brand new Ubuntu installation, I
apt-get
ted ruby, tried to install the gem, and it didn t work either. - Putting
have_library ruby , rb_big_modulo
in my extconf.rb didn t work.
正如你可能看到的那样,我正在绝望(经过几个星期的尝试!) 。 因此,我如何能够做到这一点?
www.un.org/Depts/DGACM/index_chinese.htm
来源:。