> The following works for me in both 5.1 and 5.2. Why not just follow the recommendation to copy linit.c to your project, edit the list of libraries there at will and just call luaL_openlibs in your app?