[MacOS X] YAML.rb dyld _LONG2NUM undefined

In order to us YAML.rb i’ve compiled and installed racc and sick on
MacOS X.2.6 but, when testing (yts/yts.rb) i get the following error :
pp:~/bin/syck-0.35/ext/ruby> ruby yts/yts.rb
dyld: ruby Undefined symbols:
_LONG2NUM
zsh: trace trap ruby yts/yts.rb

the actual version of ruby is 1.6.7 does that means i must upgrade or
patch ?

···


Yvon

the actual version of ruby is 1.6.7 does that means i must upgrade or
patch ?

Well, LONG2NUM was introduced in 1.6.8 with these definitions

#define LONG2NUM(v) INT2NUM(v)
#define ULONG2NUM(v) UINT2NUM(v)

Guy Decoux