[MacRuby-devel] HAVE_RUBY_VM_H and nkf.bundle (was: installing tmail)
Brian Marick
marick at exampler.com
Wed May 12 10:35:08 PDT 2010
Well, loading a compiled NKF library leads to this:
dyld: lazy symbol binding failed: Symbol not found: _rb_enc_find_index
Referenced from: /Users/marick/src/clients/SES/Lib/nkf.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_enc_find_index
Referenced from: /Users/marick/src/clients/SES/Lib/nkf.bundle
Expected in: flat namespace
Compilation looked like this:
/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0/universal-darwin10.0 -I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -Wno-parentheses -arch i386 -arch x86_64 -o nkf.o -c nkf.c
/usr/bin/gcc -dynamic -bundle -undefined suppress -flat_namespace -arch i386 -arch x86_64 -o nkf.bundle nkf.o -L. -L/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib -arch i386 -arch x86_64 -lmacruby
It's been 15-some years since I last used a C compiler in anger, so I'm out of my depth.
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
More information about the MacRuby-devel
mailing list