<div dir="ltr">Hello,<div><br></div><div>I just ran git pull and rebuilt FreeSWITCH, and now Lua is unable to locate the LuaXml library.</div><div><br></div><div><div>module &#39;LuaXml&#39; not found:</div><div><span class="" style="white-space:pre">        </span>no field package.preload[&#39;LuaXml&#39;]</div>

<div><span class="" style="white-space:pre">        </span>no file &#39;/usr/local/lib/lua/5.2/LuaXml.so&#39;</div><div><span class="" style="white-space:pre">        </span>no file &#39;/usr/local/lib/lua/5.2/loadall.so&#39;</div><div>

<span class="" style="white-space:pre">        </span>no file &#39;./LuaXml.so&#39;</div><div><br></div><div>and another:</div><div><br></div><div><div>module &#39;LuaXml&#39; not found:</div><div><span class="" style="white-space:pre">        </span>no field package.preload[&#39;LuaXml&#39;]</div>

<div><span class="" style="white-space:pre">        </span>no file &#39;./LuaXml.so&#39;</div><div><span class="" style="white-space:pre">        </span>no file &#39;/usr/local/lib/lua/5.1/LuaXml.so&#39;</div><div><span class="" style="white-space:pre">        </span>no file &#39;/usr/lib/x86_64-linux-gnu/lua/5.1/LuaXml.so&#39;</div>

<div><span class="" style="white-space:pre">        </span>no file &#39;/usr/lib/lua/5.1/LuaXml.so&#39;</div><div><span class="" style="white-space:pre">        </span>no file &#39;/usr/local/lib/lua/5.1/loadall.so&#39;</div></div><div>

<br></div><div>Note that in /usr/local/lib/lua/5.1 there is a LuaXML_lib.so, but no LuaXml.so.  </div><div><br></div><div>Those are example of one of the many error messages the system has been spitting out at me.  Tt&#39;s complaining about not finding a LuaXml.so despite none actually existing on the box and despite following the instructions in the wiki.</div>

<div><br></div><div>I already followed the instructions in <a href="http://wiki.freeswitch.org/wiki/Mod_lua">http://wiki.freeswitch.org/wiki/Mod_lua</a> for installing LuaXml via the luarocks package manager, so since that didn&#39;t work I tried including the library manually from the luaxml website.  Although the lua on the box can run the test.lua script successfully, I am not having luck in FreeSWITCH.</div>

<div><br></div><div>I also tried recompiling from scratch running the bootstrap and configure scripts.  No luck.</div><div><br></div><div>I&#39;ve also tried installing both Lua 5.1 and Lua 5.2.  I realize the wiki shows 5.1 being used, but I already tried that and moved onto trying other things.  Still working on trying to figure out what happened, but wanted to see if anyone else is having any trouble with this as well.  I realize Lua is embedded in FreeSWITCH, so I&#39;m a bit confused about why it can&#39;t find the library.</div>

<div><br></div><div>Using lua 5.2 on the box, I can run the test.lua script that users the library, what version of Lua does FreeSWITCH use?  I&#39;m not convinced it&#39;s using an embedded version of Lua based on the fact that I see it trying to use the paths from the Lua installed from apt-get.</div>

<div><br></div><div><div dir="ltr"><div><br></div><div>James<br></div><div><br><div><br></div></div></div></div>
</div></div>