09 Jun '13, 4am

STR2CSTR、ruby1.8ではoboslete、ruby1.9ではremoved。ncurses動かへんやん

I am on Snow Leopard, installed 1.9.2 using rvm. Here is the runtime error I get from ncurses-0.9.1: dyld: lazy symbol binding failed: Symbol not found: _STR2CSTR Referenced from: /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/x86_64-darwin10/ncurses.bundle Expected in: flat namespace dyld: Symbol not found: _STR2CSTR Referenced from: /Users/rahul/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/x86_64-darwin10/ncurses.bundle Expected in: flat namespace Trace/BPT trap Someone told me that STR2CSTR has been removed. Could someone tell me what I should replace STR2CSTR with in the ncurses code, or what to do. I am not familiar with the Ruby-C interface, and would appreciate some pointers. thanks, rahul p.s. I am using an older version of ncurses, since i can't get 1.2.4 to compile or run on Snow Leopard.

Full article: http://www.ruby-forum.com/topic/215406

Tweets