Anti-Random problem installing

These are old archives. They are kept for historic purposes only.
Post Reply
Jonny15
Posts: 5
Joined: Tue Jul 01, 2008 3:03 pm

Anti-Random problem installing

Post 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
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Anti-Random problem installing

Post by Stealth »

The best thing to do whenever a module fails to load is to recompile the module.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Anti-Random problem installing

Post 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.
Jonny15
Posts: 5
Joined: Tue Jul 01, 2008 3:03 pm

Re: Anti-Random problem installing

Post 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.
Post Reply