> doesn't. Can somebody help me understand why the second approach fails? > I also don't understand why in the second script prints twice the package.cpath Your second approach recursively loads testlib.lua instead of testlib.so. Bye, Wim