From: Joel VanderWerf Date: 2003-01-25T13:37:52+09:00 Subject: Re: Submodules and C Daniel Carrera wrote: > On Sat, Jan 25, 2003 at 01:07:02PM +0900, Joel VanderWerf wrote: > >>>require 'math::const' >> >>You mean include, right? > > > No, I really do mean require. > I know that the include would be: > > include Math::Const Ah, sorry. I understand the issue now. Your wrapper idea sounds workable. Or maybe 'require "math/const"'. I've never tried it, but what if the Init_X() function and Y.so (or Y.dll) have X != Y ? In other words, does ruby's loader look for Init_FOO when opening FOO.so, or will it run any Init_BAR that it finds? I'm guessing not, from what README.EXT says, but this might solve the problem.