PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => PtokaX Remote Admin => AllInOne Scripts => Support => Topic started by: szastan on 06 March, 2010, 13:03:52

Title: Problem - 64 bit Linux architecture
Post by: szastan on 06 March, 2010, 13:03:52
hi, I've just downloaded PRA and sadly, can't run it (Ubuntu 9.10). Here is what I see in console:

szastan@x61s:~/Pulpit/ptokaadmin$ ./PRAdmin
INFO: Starting PRAdmin.lua (pid 31345)
szastan@x61s:~/Pulpit/ptokaadmin$ ERROR: error loading module 'wx' from file './lib/wx.so':
   ./lib/wx.so: wrong ELF class: ELFCLASS64
INFO: Stopping PRAdmin.lua


Is there any possibility to run it on 64 bit arch? Or maybe its some other problem, I don't know. Thanks in advance.
Title: Re: Problem - 64 bit Linux architecture
Post by: Thor on 07 March, 2010, 13:29:44
Seems it's caused by 64 bit architecture, yes. I guess you use the pre-compiled wx.so comes with Lua-AIO. Try to download the source, and compile it manually.
Title: Re: Problem - 64 bit Linux architecture
Post by: szastan on 09 March, 2010, 19:13:21
Actually I did download wxLUA source and compile it. Done everything using wxinstall.sh script, if that's not the case it would be great if you could point me to sources I should compile.
Title: Re: Problem - 64 bit Linux architecture
Post by: Thor on 11 March, 2010, 18:24:28
I am mainly a Lua programmer, so I don't know (even that wxinstall shell script was made by ATAG). I checked wxLua homepage, seems it's possible, but I don't have idea how... Sorry.