From: jim@... Date: 2004-08-19T22:46:51+09:00 Subject: Re: swig problem with init * Lyle Johnson [2004-08-19 22:18:07 +0900]: > On Thu, 19 Aug 2004 08:35:54 +0900, Phil Tomson wrote: > > > In your case you called it ITKDb and it seems > > to have lowercased it. > > No, look at the SWIG-generated wrapper code, e.g. > > mITKDb = rb_define_module("ITKDb"); > > SWIG definitely honored his module name choice of ITKDb. What does > seem to have happened is that Jim then compiled the wrapper code into > a shared library named (lowercase) itkdb.so, which (as Joel as pointed > out) is inconsistently named. SWIG just generates the source code and > doesn't have any control over how you actually compile that code into > a shared library for use by Ruby. Yes, that is exactly what happened, and I recognized it immediately after Joel's and Phil's email. I have run across this before, but had forgotten about it. Sorry for the noise, but maybe it's good for the archives. -- Jim Freeze