Hi , I have installed Freeswitch 1.6.20 from RPM package, I've setup lua.conf.xml to run a lua script "gen_dir_user_xml_dbh.lua" to load user directory information from mysql when FS starts up, however the FS logs indicates it couldn't find mod_lua.so share library file. Since Centos 7.5 OS came with lua 5.1.4 preinstalled. If FS move to use the system lua, why does it still reference the mod_lua.so. How to make it work under current FS? 2018-07-27 20:29:52.476412 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_lua.so **libssl.so.6: cannot open shared object file: No such file or directory** lua -v Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio Lua.conf.xml <configuration name="lua.conf" description="LUA Configuration"> <settings> <!-- Specify local directories that will be searched for LUA modules These entries will be pre-pended to the LUA_CPATH environment variable --> <!-- <param name="module-directory" value="/usr/lib/lua/5.1/?.so"/> --> <!-- <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/> --> <!-- Specify local directories that will be searched for LUA scripts These entries will be pre-pended to the LUA_PATH environment variable --> <!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> --> <!-- <param name="script-directory" value="$${base_dir}/scripts/?.lua"/> --> <param name="xml-handler-script" value="gen_dir_user_xml_dbh.lua"/> <param name="xml-handler-bindings" value="directory"/> </settings> </configuration>
mod_lua.so is our module file not the Lua lib. Try using Debian as that is our most tested distro.
On Jul 28, 2018, at 5:12 AM, louie liu <lliu@multinet.net.au> wrote:
Hi ,
I have installed Freeswitch 1.6.20 from RPM package, I’ve setup lua.conf.xml to run a lua script “gen_dir_user_xml_dbh.lua” to load user directory information from mysql when FS starts up, however the FS logs indicates it couldn’t find mod_lua.so share library file. Since Centos 7.5 OS came with lua 5.1.4 preinstalled. If FS move to use the system lua, why does it still reference the mod_lua.so. How to make it work under current FS?
2018-07-27 20:29:52.476412 [CRIT] switch_loadable_module.c:1522 Error Loading module/usr/lib64/freeswitch/mod/mod_lua.so **libssl.so.6: cannot open shared object file: No such file or directory**
lua -v Lua 5.1.4 Copyright (C) 1994-2008 Lua.org <http://lua.org/>, PUC-Rio
Lua.conf.xml <configuration name="lua.conf" description="LUA Configuration"> <settings>
<!-- Specify local directories that will be searched for LUA modules These entries will be pre-pended to the LUA_CPATH environment variable --> <!-- <param name="module-directory" value="/usr/lib/lua/5.1/?.so"/> --> <!-- <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/> -->
<!-- Specify local directories that will be searched for LUA scripts These entries will be pre-pended to the LUA_PATH environment variable --> <!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> --> <!-- <param name="script-directory" value="$${base_dir}/scripts/?.lua"/> -->
<param name="xml-handler-script" value="gen_dir_user_xml_dbh.lua"/> <param name="xml-handler-bindings" value="directory"/>
</settings> </configuration>
participants (2)
-
louie liu
-
Michael Jerris