I am trying to add the mod_auth_radius module to Apache. I compile with
/opt/lampp/bin/apxs -i -a -c mod_auth_radius-2.0.c
apxs generates the mod_auth_radius-2.0.so binary. I then edit /opt/lampp/etc/httpd.conf to configure it for my radius server but when starting apache I get
httpd: Syntax error on line 128 of /opt/lampp/etc/httpd.conf: Cannot load /opt/lampp/modules/mod_auth_radius-2.0.so into server: /opt/lampp/modules/mod_auth_radius-2.0.so: wrong ELF class: ELFCLASS64
Can anyone suggest what might be wrong?