Not really a Freeswitch issue, but...
...I was wondering if any kind souls would be able to suggest some next steps for a problem I have with a lua script. It uses a third-party library called LuaXML, but my module seems to be the wrong architecture, with the result that I get this error message: 2013-09-27 08:10:08.598859 [ERR] mod_lua.cpp:200 error loading module 'LuaXML_lib' from file '/usr/local/lib/lua/5.1/LuaXML_lib.so': /usr/local/lib/lua/5.1/LuaXML_lib.so: wrong ELF class: ELFCLASS32 Any suggestions gratefully received!
On 27 September 2013 10:12, Alex Lake <alex@digitalmail.com> wrote:
...I was wondering if any kind souls would be able to suggest some next steps for a problem I have with a lua script. It uses a third-party library called LuaXML, but my module seems to be the wrong architecture, with the result that I get this error message:
2013-09-27 08:10:08.598859 [ERR] mod_lua.cpp:200 error loading module 'LuaXML_lib' from file '/usr/local/lib/lua/5.1/LuaXML_lib.so': /usr/local/lib/lua/5.1/LuaXML_lib.so: wrong ELF class: ELFCLASS32
Any suggestions gratefully received!
Are you on a 64 bit system? It looks like the library is 32 bit.
Hey, it seems that FS is 64bit and your LuaXML is 32bit. 2013/9/27 Alex Lake <alex@digitalmail.com>
...I was wondering if any kind souls would be able to suggest some next steps for a problem I have with a lua script. It uses a third-party library called LuaXML, but my module seems to be the wrong architecture, with the result that I get this error message:
2013-09-27 08:10:08.598859 [ERR] mod_lua.cpp:200 error loading module 'LuaXML_lib' from file '/usr/local/lib/lua/5.1/LuaXML_lib.so': /usr/local/lib/lua/5.1/LuaXML_lib.so: wrong ELF class: ELFCLASS32
Any suggestions gratefully received!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Mit freundlichen Grüßen *Karsten Horsmann*
On 09/27/2013 10:12 AM, Alex Lake wrote:
...I was wondering if any kind souls would be able to suggest some next steps for a problem I have with a lua script. It uses a third-party library called LuaXML, but my module seems to be the wrong architecture, with the result that I get this error message:
2013-09-27 08:10:08.598859 [ERR] mod_lua.cpp:200 error loading module 'LuaXML_lib' from file '/usr/local/lib/lua/5.1/LuaXML_lib.so': /usr/local/lib/lua/5.1/LuaXML_lib.so: wrong ELF class: ELFCLASS32
Any suggestions gratefully received!
It's usually due to a architecture mismatch: 64bit OS versus 32bit app. So my guess is that you downloaded the wrong version of LuaXML. Remove the one currently installed, get the proper version of LuaXML (if your OS is 64bit, get the 64bit version of LuaXML), install that and try again. Regards, Patrick
Thanks - managed to do that (I think) but but it's complaining about mulitple Lua VMs detected. I get the impression that I may need to somehow be more prescriptive about my Lua linking. Not sure how to go about that.... More time with Google, I suppose... ;-)
On 09/27/2013 10:12 AM, Alex Lake wrote:
...I was wondering if any kind souls would be able to suggest some next steps for a problem I have with a lua script. It uses a third-party library called LuaXML, but my module seems to be the wrong architecture, with the result that I get this error message:
2013-09-27 08:10:08.598859 [ERR] mod_lua.cpp:200 error loading module 'LuaXML_lib' from file '/usr/local/lib/lua/5.1/LuaXML_lib.so': /usr/local/lib/lua/5.1/LuaXML_lib.so: wrong ELF class: ELFCLASS32
Any suggestions gratefully received! It's usually due to a architecture mismatch: 64bit OS versus 32bit app. So my guess is that you downloaded the wrong version of LuaXML. Remove the one currently installed, get the proper version of LuaXML (if your OS is 64bit, get the 64bit version of LuaXML), install that and try again.
Regards, Patrick
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2242 / Virus Database: 3222/6202 - Release Date: 09/26/13
participants (4)
-
Alex Lake
-
Dušan Dragić
-
Karsten Horsmann
-
Patrick Lists