From: nobu.nokada@... Date: 2004-12-23T23:55:38+09:00 Subject: Re: Ruby Cocoa (OS X) questions: deployment & interface builder Hi, At Thu, 23 Dec 2004 16:46:58 +0900, Mikkel Bruun wrote in [ruby-talk:124356]: > >>feisty:~ mb$ g++ -o boot -L/opt/local/lib/ruby/1.8/powerpc-darwin/ > >>-lruby-static -framework Cocoa boot.o > >>ld: Undefined symbols: > >>_ruby_init > >>_ruby_options > >>_ruby_run You need to pay attention to the order of libraries and objects. boot.o which requires symbols in libruby has to come before the -l option. $ g++ -o boot -L/opt/local/lib/ruby/1.8/powerpc-darwin -framework Cocoa boot.o -lruby BTW, shared library version doesn't work? -- Nobu Nakada