D'oh.  Put .lua files on LUA_PATH and .so files on LUA_CPATH.