Problems with the Linux version of XAMPP, questions, comments, and anything related.
by ToddGruben » 01. December 2005 18:49
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?
-
ToddGruben
-
- Posts: 2
- Joined: 01. December 2005 18:38
by Wiedmann » 01. December 2005 19:20
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
-
Wiedmann
- AF Moderator
-
- Posts: 17102
- Joined: 01. February 2004 12:38
- Location: Stuttgart / Germany
by ToddGruben » 01. December 2005 19:32
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?
-
ToddGruben
-
- Posts: 2
- Joined: 01. December 2005 18:38
by Wiedmann » 01. December 2005 19:47
/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.
-
Wiedmann
- AF Moderator
-
- Posts: 17102
- Joined: 01. February 2004 12:38
- Location: Stuttgart / Germany
Return to XAMPP for Linux
Who is online
Users browsing this forum: No registered users and 43 guests