Re: Question about Building Freeradius

2005-05-13 Thread Terry MacDonald
Sarkis Gabriel wrote:
Just wondering when i build the RPM with SPEC file, does it enable --with-experimental-
modules? or is there a specific command to make the extra modules?
I have compiled the RPMS no problem there but the modules are not included and if i 
compiled from .tar.gz when i run radiusd -X i get an error rlm_exec no found.

Thank you
Sarky
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 

See my earlier email about the 'invalid ELF header'.  To find the 
modules you need to set LD_LIBRARY_PATH, in your run environment, to the 
directory containing your module libraries. Which I did but then they I 
got the ELF error, which I presume means that all the libraries (in th 
SUSE package) are all compiled as statics (.a) and not shared (.so) 
which basically means the official SUSE package does not run!

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


First Run: Invalid ELF Header

2005-05-12 Thread Terry MacDonald
FreeRadius 0.9.3
OS: SUSE 9
Installed freeradius from SUSE supplied packages.
Ran 'radiusd -X' from root and got the following error:
  radiusd.conf[1186] Failed to link to module 'rlm_expr': rlm_expr.a: 
cannot open shared object file: No such file or directory

So, set up the local env with;  'export 
LD_LIBRARY_PATH=/usr/lib/freeradius', and ran 'radiusd -X' again, now 
get the following error:

  radiusd.conf[1186] Failed to link to module 'rlm_expr': 
/usr/lib/freeradius/rlm_expr.a: invalid ELF header

So anyone know what the problem is?
Thanks in advance for any problem solving advice!
Cheers
Terry
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html