You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/11/19 13:59:00 UTC
[jira] [Created] (THRIFT-4386) Add Lua 5.3 Support
James E. King, III created THRIFT-4386:
------------------------------------------
Summary: Add Lua 5.3 Support
Key: THRIFT-4386
URL: https://issues.apache.org/jira/browse/THRIFT-4386
Project: Thrift
Issue Type: Improvement
Components: Lua - Library
Affects Versions: 0.10.0
Environment: 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)
Reporter: James E. King, III
Looks like our old socket code uses a call no longer in lua which was deprecated in 5.1:
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)