[Freeswitch-users] Can't load mod_lua.so on Freeswitch v1.6.20

louie liu lliu at multinet.net.au
Sat Jul 28 09:12:41 UTC 2018


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>

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180728/8f529668/attachment.html>


More information about the FreeSWITCH-users mailing list