Linker Error Lunatic Python lua.require('socket') -> undefined symbol: lua_getmetatable
snippet in lua

Linker Error Lunatic Python lua.require('socket') -> undefined symbol: lua_getmetatable

user3233

$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, DLFCN
>>> sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
>>> import lua
>>> lua.require("socket")
<Lua table at 0x22ccef0>