I'm not so sure about this as we are doing some fancy stuff in the spec file: %define lua_path ?.lua;?/?.lua;%{lua_noarchdir}/?.lua;%{lua_noarchdir}/?/init.lua %define lua_cpath ?.so;?/?.so;%{lua_archdir}/?.so .. export LUA_CPATH="%{lua_cpath}" export LUA_PATH="%{lua_path}" I do recall that this took quite some fiddling to get it right, but without setting these PATHs some lua files were not found. I need to reinvestigate.