Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-19 Thread Cyril Bonté
Hi, Le 19/07/2016 à 10:10, Sachin Shetty a écrit : Thankyou Cyril. I could not get it work with 5.3 either, I am now trying to use built in sockets with core.tcp(). You should recheck your installation and verify that you are still not loading some 5.1 libraries. After a quick test on my

Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-19 Thread Sachin Shetty
Thankyou Cyril. I could not get it work with 5.3 either, I am now trying to use built in sockets with core.tcp(). On 7/19/16, 4:00 AM, "Cyril Bonté" wrote: >Hi Sachin, > >Le 18/07/2016 à 16:16, Sachin Shetty a écrit : >> (...) >> However when starting haproxy, I get this

Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-18 Thread Cyril Bonté
Hi Sachin, Le 18/07/2016 à 16:16, Sachin Shetty a écrit : (...) However when starting haproxy, I get this error: [ALERT] 199/063903 (7106) : parsing [/home/egnyte/haproxy/conf/haproxy.conf:9] : lua runtime error: error loading module 'socket.core' from file

undefined symbol: lua_getmetatable in using luasocket

2016-07-18 Thread Sachin Shetty
Hi, I am trying to load a luasocket script which would make a rest call to a upstream service to determine the backend The script is as follows: ³²" http = require ³socket.http" function choose_backend(txn, arg1) core.log(core.info, "Getting Info:" .. arg1) result,