From: David Plans Casal Date: 2005-04-07T00:30:35+09:00 Subject: Re: extconf.rb and dyld problem On 6 Apr 2005, at 16:01, Peter Wood wrote: >> The libraries I'm trying to compile/link are C++, so I thought I >> -had- to use the C++ compiler? > Apologies, I should have been more specific. Where you mix C and C++ > code you must explicitly pick out the elements that to be treated in > the C way from those that will be handled in the C++ way. Another mail > on this topic has already referred to marking the initialization > function with extern "C". You may have to do this for other elements > as well, although an exact list of what requires it will depend on the > symbols that are missing. I'm sorry if this is a waste of your time (I mean that I may not even understand your advice)...but the thing is this set of ruby bindings came from the author, who is able to compile them in linux just fine, and comes with ruby examples that use the linked c++ libraries he wrote. What I'm wondering here is: perhaps my problem is simply to do with the darwin platform differences with linux, and that extconf.rb was written for linux? I say this because I hope that's the case ;-) ... since if the problem is what you outline, I'm probably not going to be able to do much about it... Cheers, David