Thanks Dave. That got me past the initial linking error. I am getting another linking error apparently when it tries to lookup NSObject. I tried adding "-framework Foundation.framework" to the LDFLAGS setting as well but that didn't seem to help. Any additional thoughts? Dave -----Original Message----- From: Dave Baldwin [mailto:dave.baldwin / 3dlabs.com] Sent: Wednesday, December 22, 2004 10:48 AM To: ruby-talk ML Subject: Re: Ruby Extensions using OS X Frameworks You could try adding $LDFLAGS = '-framework AddressBook' into you extconf.rb file. Dave. On 22 Dec 2004, at 15:06, David Craine wrote: > I'm trying to write a ruby extension which accesses the > AddressBook.framework on OS X. I can get the extension to compile but > get undefined symbol errors for each of the AddressBook APIs when I > load the extension. It's pretty clear that it's not able to find the > AddressBook library module, but I'm not quite sure how to tell it > where to look. Anyone have any experience with accessing OS X > frameworks in this way? > > Dave Craine > InfoEther > >