Your best bet is to link Lua statically into your program. To ensure you have the correct version, distribute Lua with your program. BTW, why doesn't your program compile and run fine under Lua 5.1? --lhf