This is what I did to make it work... file beagle.so beagle.so: Mach-O 64-bit bundle x86_64
Note that beagle.so is a bundle so I can't link against it. beagle.c is a file that loads the bundle and sets up function pointers to call into it. --- BeagleBundle.c --- #include "beagle.h" void Init_Beagle(void) { } ---- gcc BeagleBundle.c beagle.c -bundle -o Beagle.bundle irb(main):002:0> require 'Beagle' => true irb(main):003:0> load_bridge_support_file 'beagle.bridgesupport' => main Voila! --- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel