Free Radius 1.1.2, Fedora 5 & "invalid ELF header"
Hi, I am replacing a server that is currently running RedHat 9 and FreeRadius 0.9.3 to a newer server with Fedora 5 and FreeRadius 1.1.2. While using my old FreeRadius notes I've come across this error message on startup that I can't seem to beat. I've tried configuring FreeRadius with "--disable-shared" and "--with-gnu-ld" seperately and neither of these worked. My older of FreeRadius (0.9.3) won't even make on Fedora 5. I normally configure it using: ./configure --with-radacctdir=/var/log --with-raddbdir=/etc/raddb --with-log dir=/var/log/radacct This is the error from /var/log/radacct/radius.log Error: radiusd.conf[1565] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header Some of the errors had the rlm_exec.a path as these. You can see the "usr" in the path was "busted". Pb<ED>?/local/lib/rlm_exec.a P2<D2>?/local/lib/rlm_exec.a <F8><e?/local/lib/rlm_exec.a h<C2>??/local/lib/rlm_exec.a Thanks, Bill
Bill wrote:
This is the error from /var/log/radacct/radius.log Error: radiusd.conf[1565] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header
Please try the version in the stable branch of the CVS. It uses a newer libtool, therefore it should correctly build the FreeRADIUS modules. $ cvs -d :pserver:anoncvs@cvs.freeradius.org:/source login CVS password: anoncvs $ cvs -d :pserver:anoncvs@cvs.freeradius.org:/source checkout -r branch_1_1 radiusd -- Nicolas Baradakis
Thanks. That worked perfectly. Bill ----- Original Message ----- From: Nicolas Baradakis To: FreeRadius users mailing list Sent: Wednesday, August 02, 2006 4:36 AM Subject: Re: Free Radius 1.1.2, Fedora 5 & "invalid ELF header" Bill wrote:
This is the error from /var/log/radacct/radius.log Error: radiusd.conf[1565] Failed to link to module 'rlm_exec': /usr/local/lib/rlm_exec.a: invalid ELF header
Please try the version in the stable branch of the CVS. It uses a newer libtool, therefore it should correctly build the FreeRADIUS modules. $ cvs -d :pserver:anoncvs@cvs.freeradius.org:/source login CVS password: anoncvs $ cvs -d :pserver:anoncvs@cvs.freeradius.org:/source checkout -r branch_1_1 radiusd -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Bill -
Nicolas Baradakis -
VCI Help Desk