On Friday, December 12, 2014 at 12:20 PM, spros p wrote:
Hello,
I am trying to run a simple ESL script using Lua. I have installed Lua 5.1 and the respective dev packages on my linux machine. Make luamod in /libs/esl/ directory works just fine.
However when executing: freeswitch/libs/esl/lua/single_command.lua, i receive the following:
lua: lua/single_command.lua:2: module 'ESL' not found:
no field package.preload['ESL']
no file './ESL.lua'
no file '/usr/share/lua/5.1/ESL.lua'
no file '/usr/share/lua/5.1/ESL/init.lua'
no file '/usr/lib64/lua/5.1/ESL.lua'
no file '/usr/lib64/lua/5.1/ESL/init.lua'
no file './ESL.so'
no file '/usr/lib64/lua/5.1/ESL.so'
no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
lua/single_command.lua:2: in main chunk
[C]: ?
Any help would be greatly appreciatedBest,SP_________________________________________________________________________Professional FreeSWITCH Consulting Services:Official FreeSWITCH SitesFreeSWITCH-users mailing list