wrong ELF class: ELFCLASS64 when adding a new Apache module

Problems with the Linux version of XAMPP, questions, comments, and anything related.

wrong ELF class: ELFCLASS64 when adding a new Apache module

Postby nickmarino » 23. January 2009 20:14

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?
nickmarino
 
Posts: 2
Joined: 23. January 2009 18:21

Re: wrong ELF class: ELFCLASS64 when adding a new Apache module

Postby nickmarino » 23. January 2009 20:15

Here is my httpd -V --

[root@sandbox1 lampp]# bin/httpd -V
Server version: Apache/2.2.9 (Unix)
Server built: Jun 14 2008 07:25:28
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.3.0, APR-Util 1.3.0
Compiled using: APR 1.3.0, APR-Util 1.3.0
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/lampp"
-D SUEXEC_BIN="/opt/lampp/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="etc/mime.types"
-D SERVER_CONFIG_FILE="etc/httpd.conf"
nickmarino
 
Posts: 2
Joined: 23. January 2009 18:21


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests