c - Missing functions in ruby 1.8 -


I have developed with a ruby ​​gem that I Ruby 1.9, and it works. With Ruby 1.8, however, try to say when I run it:

  dyld: failed lazy symbol binding: symbol not found: _RBIGNUM_SIGN referred by: / users / Adrian / desktop / Num_to_bytes / flat namespace dyld: ext / num_to_bytes / not required num_to_bytes.bundle symbol found in the required referred /Users/Adrian/Desktop/num_to_bytes/ext/num_to_bytes/num_to_bytes.bundle from _RBIGNUM_SIGN : Flat name space trace / bpt trap  

if i line RBIGNUM_SIGN comment out the> rb_big_modulo NUM2LONG . Here are some tried things that I look forward to:

  • in, RBIGNUM_SIGN is defined. But in all the versions of Ruby I have tried, it is not there.
  • I thought maybe it was defined in a separate .h file. Knowing that Hpricot works with 1.8, I noticed that there are no other files included, which are #define
  • extension = rb_big_modulo (VALUE x) such as putting things; Do not help at the beginning of my extension.
  • Using a new Ubuntu installation, I tried to install apt-get ted ruby, gem, and it also does not work.
  • Code> has_library 'ruby', 'rb_big_modulo' My extconf.rb did not work.

You might see, I'm getting desperate (things after the week of trying!). So, how can I get to do this work

Here's the gem:

Here's the source:

You can try the gem requirement, this gives some functionality of the new Ruby versions for older Rabbi interpreters.


Comments