Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.10.0
-
None
-
None
-
ubuntu-artful docker image with "lua5.3", "lua5.3-dev", and lua5.3 symbolically linked to lua, and luac5.3 symbolically linked to luac (all in usr/bin)
Description
Looks like our old socket code uses a call no longer in lua which was deprecated in 5.1:
root@8f527334cf62:/thrift/src# cat test/log/cpp-lua_binary_buffered-ip_client.log Sun Nov 19 13:56:05 2017 Executing: lua test_basic_client.lua --protocol=binary --transport=buffered --port=35407 Directory: /thrift/src/test/lua config:delay: 5 config:timeout: 5 =============================================================================== lua: error loading module 'libluasocket' from file '../../lib/lua/.libs/libluasocket.so': ../../lib/lua/.libs/libluasocket.so: undefined symbol: luaL_openlib stack traceback: [C]: in ? [C]: in function 'require' ../../lib/lua/TSocket.lua:20: in main chunk [C]: in function 'require' test_basic_client.lua:19: in main chunk [C]: in ? =============================================================================== Return code: 1 Test execution took 0.0 seconds. Sun Nov 19 13:56:05 2017
Attachments
Issue Links
- is related to
-
THRIFT-4387 Switch to using a more official lua socket implementation
- Open