From: Hans Fugal Date: 2005-05-08T00:09:29+09:00 Subject: FXRuby on OS X Tiger I'm new to the OS X scene, and while I used Panther for a week or two before getting Tiger, I never tried to get FXRuby working on Panther. Darwin ports has rb-fxruby, which compiles and installs fine but dies in the apparently famous way: irb(main):002:0> require 'fox12' dyld: NSLinkModule() error dyld: Symbol not found: __ZTIN2FX5FXAppE Referenced from: /opt/local/lib/ruby/vendor_ruby/1.8/powerpc-darwin7.9.0/fox12.bundle Expected in: flat namespace Trace/BPT trap Tiger comes with ruby 1.8.2: $ /usr/bin/ruby --version ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] It does not come with Fox, so I installed it with darwin ports. Fox works great (e.g. the calculator). I built FXRuby 1.2.6 from scratch, which required the following: # Could this be added to the default search path? or maybe use the output of fox-config? ruby install.rb config -- \ --with-fox-include=/opt/local/include/fox-1.2\ --with-fox-lib=/opt/local/lib # what's up with "-arch i386" in the generated Makefile? sed -i 's/-arch i386//g' ext/fox12/Makefile ruby install.rb setup sudo ruby install.rb install I get almost exactly the same error: $ ruby -r fox12 -e 0 dyld: NSLinkModule() error dyld: Symbol not found: __ZTIN2FX12FXObjectListE Referenced from: /usr/lib/ruby/site_ruby/1.8/powerpc-darwin8.0/fox12.bundle Expected in: flat namespace Trace/BPT trap I'm willing to test, give ssh, whatever. For the record, it looks like tk aqua works out of the box on Tiger. Very nice. Unfortunately Tk is too slow for my little app (very large drop-down menu). Now, I did install Tcl/Tk Aqua Batteries Included before upgrading to Tiger, but I hadn't gotten ruby tk to work in Panther, and it worked immediately upon upgrading to Tiger. So at worst it would seem Tk is a matter of installing Tcl/Tk Aqua BI.