The luajit package on amd64 (at least) can't load any shared objects.
Everything works fine when built directly from the source.

LuaJIT 2.0.2 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> require "socket"
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 'lua_insert'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'lua_touserdata'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'lua_isnumber'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'luaL_openlib'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 'lua_pcall'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'luaL_addlstring'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'lua_getfield'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 'lua_gettop'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'lua_getmetatable'
./luajit51:/usr/local/lib/lua/5.1/socket/core.so: undefined symbol 
'luaL_checklstring'

I note that my luajit is 458K while the pkg one is 592K and the output
of nm is very different.

Reply via email to