[Freeswitch-users] [ERR] mod_lua.cpp:203 error loading module 'socket.core' from file '/usr/local/lib/lua/5.2/socket/core.so'
Akshaya j
akshaya18j at gmail.com
Fri Nov 17 11:18:31 UTC 2017
Hi team,
I run fs-version 1.6.19+ in centos 7.
I installed Lua5.2 and tried installing luasocket-3.0-rc1 from freeswitch
doc.
I can run independent lua script and send mail, but when I use the same
script inside FS I get this error,
ERR] mod_lua.cpp:203 error loading module 'socket.core' from file
'/usr/local/lib/lua/5.2/socket/core.so':
/usr/local/lib/lua/5.2/socket/core.so: undefined symbol: luaL_setfuncs
stack traceback:
[C]: ?
[C]: in function 'require'
/usr/local/share/lua/5.2/socket.lua:12: in main chunk
[C]: in function 'require'
/usr/local/share/lua/5.2/socket/smtp.lua:15: in main chunk
[C]: in function 'require'
/usr/local/freeswitch/scripts/sendmail.lua:2: in main chunk
>From the freeswitch doc luasocket installation I can witness last make
command with
LUAINC_linux=/usr/local/src/freeswitch/src/mod/languages/mod-lua/lua
where I don't find any folder "lua" inside the source.
I have LUAINC_linux=/usr/local/include/ (lua include dir) and this works
for independent luasocket to send mail.
Please help me in fixing this workaround.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171117/af474c13/attachment.html>
More information about the FreeSWITCH-users
mailing list