> Linit.c is modified, but only to #ifdef out modules we don't use. I can't see anything wrong... But try changing it to {"_G", luaopen_base}, though the problem is probably somewhere else... Also, don't stop the GC before calling luaL_openlibs.