Page 1 of 1

Anti-Random problem installing

Posted: Tue Aug 07, 2012 3:12 am
by Jonny15
Hi,
I am running CentOS 64 bit (Linux 2.6.18-308.11.1.el5 on x86_64) and trying to add the Anti-Random module (1.3) to Unreal3.2.9. When I /rehash I get the message below. Does anyone have an idea how to fix this? Thanks.

*** Notice -- unrealircd.conf:43: loadmodule src/modules/antirandom.so: failed to load: tmp/5D1FB782.antirandom.so: wrong ELF class: ELFCLASS64

Re: Anti-Random problem installing

Posted: Fri Aug 10, 2012 6:59 pm
by Stealth
The best thing to do whenever a module fails to load is to recompile the module.

Re: Anti-Random problem installing

Posted: Sat Aug 11, 2012 8:29 am
by Syzop
Seeing the error, I doubt this problem is antirandom-specific.
Perhaps you compiled UnrealIRCd, then in the meantime a new compiler got installed, and now you compile antirandom which is incompatible with UnrealIRCd due to the use of different compiler versions?
You might have to re-compile UnrealIRCd and all your modules (including antirandom) to get things back into shape.

Code: Select all

make clean; ./Config -quick && make
(and 'make install' if required)
Then run make custommodule.... again.. etc..
And restart the server.

Re: Anti-Random problem installing

Posted: Mon Aug 13, 2012 1:29 pm
by Jonny15
Thanks for the suggestions.
I return home tomorrow, and I'll try them, and post what the solution turns out to be.
fwiw, I am sure I have not installed a new compiler, but I'll recompile and do some testing.