Page 1 of 1

mod_security.so file not found on 1.4.16

PostPosted: 01. December 2005 18:49
by ToddGruben
I downloaded the developer tools for xampp and mod_security 1.9.1. The process built and appeared to install fine vi the

/opt/lampp/bin/apxs -cia mod_security.c

howver when I restart xampp apache will no longer start. It gives the error message

Syntax error on line 291 of /opt/lampp/etc/httpd.conf:
Cannot load /opt/lampp/modules/mod_security.so into server: /opt/lampp/modules/mod_security.so: cannot open shared object file: No such file or directory

The file is present. I am assumming there is a dependancy problem, but I do not know where to look. Any ideas?

PostPosted: 01. December 2005 19:20
by Wiedmann
I am assumming there is a dependancy problem, but I do not know where to look.

Try:
Code: Select all
ldd /opt/lampp/modules/mod_security.so

PostPosted: 01. December 2005 19:32
by ToddGruben
The output of that command is..

Code: Select all
ldd /opt/lampp/modules/mod_security.so
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95693000)
        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)



So I would guess there are no dependancy problems? Anything else I can try?

PostPosted: 01. December 2005 19:47
by Wiedmann
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)

XAMPP is compiled as 32bit binary and linked against 32bit libraries.

Your own modules/libs must do also.