<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi ,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2018-07-27 20:29:52.476412 [CRIT] switch_loadable_module.c:1522 <b><span style='color:red'>Error Loading module</span></b><span style='color:red'> <b>/usr/lib64/freeswitch/mod/mod_lua.so</b></span><o:p></o:p></p><p class=MsoNormal>**libssl.so.6: cannot open shared object file: No such file or directory**<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>lua -v<o:p></o:p></p><p class=MsoNormal>Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Lua.conf.xml<o:p></o:p></p><div style='mso-element:para-border-div;border:solid windowtext 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt'><p class=MsoNormal style='border:none;padding:0cm'><configuration name="lua.conf" description="LUA Configuration"><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <settings><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'><o:p> </o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!--<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> Specify local directories that will be searched for LUA modules<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> These entries will be pre-pended to the LUA_CPATH environment variable<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!-- <param name="module-directory" value="/usr/lib/lua/5.1/?.so"/> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!-- <param name="module-directory" value="/usr/local/lib/lua/5.1/?.so"/> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'><o:p> </o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!--<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> Specify local directories that will be searched for LUA scripts<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> These entries will be pre-pended to the LUA_PATH environment variable<o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!-- <param name="script-directory" value="/usr/local/lua/?.lua"/> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <!-- <param name="script-directory" value="$${base_dir}/scripts/?.lua"/> --><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'><o:p> </o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <param name="xml-handler-script" value="gen_dir_user_xml_dbh.lua"/><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'> <param name="xml-handler-bindings" value="directory"/><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'><o:p> </o:p></p><p class=MsoNormal style='border:none;padding:0cm'> </settings><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'></configuration><o:p></o:p></p><p class=MsoNormal style='border:none;padding:0cm'><o:p> </o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>