I'm running into the same error that Darkus had:
Was there a solution for this?
Regards,
Jerret
I have a brand new clean install of DA with Apache 2.2.8 and PHP5 and i used this script to install MODSecurity2 and I get these errors on install:
PHP:msc_xml.h:17:31: error: libxml/xmlschemas.h: No such file or directory msc_xml.h:18:26: error: libxml/xpath.h: No such file or directory In file included from modsecurity.h:38, from mod_security2.c:16: msc_xml.h:23: error: expected specifier-qualifier-list before 'xmlSAXHandler' make: *** [mod_security2.slo] Error 1 make[1]: Entering directory `/usr/local/updatescript/modsecurity2/modsecurity-apache_2.1.5/apache2' /usr/local/directadmin/custombuild/httpd-2.2.8/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -I/usr/local/include -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-compare -DWITH_LIBXML2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I /usr/include/libxml2 -I /path/to/httpd-x.y/srclib/pcre -I. -I/usr/local/directadmin/custombuild/httpd-2.2.8/os/unix -I/usr/local/directadmin/custombuild/httpd-2.2.8/server/mpm/prefork -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/http -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/filters -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/proxy -I/usr/local/directadmin/custombuild/httpd-2.2.8/include -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/generators -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/mappers -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/database -I/usr/local/directadmin/custombuild/httpd-2.2.8/srclib/apr/include -I/usr/local/directadmin/custombuild/httpd-2.2.8/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.2.8/srclib/apr-util/xml/expat/lib -I/usr/local/include -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/proxy/../generators -I/usr/include -I/usr/kerberos/include -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/ssl -I/usr/local/directadmin/custombuild/httpd-2.2.8/modules/dav/main -prefer-pic -c mod_security2.c && touch mod_security2.slo In file included from modsecurity.h:38, from mod_security2.c:16: msc_xml.h:17:31: error: libxml/xmlschemas.h: No such file or directory msc_xml.h:18:26: error: libxml/xpath.h: No such file or directory In file included from modsecurity.h:38, from mod_security2.c:16: msc_xml.h:23: error: expected specifier-qualifier-list before 'xmlSAXHandler' make[1]: *** [mod_security2.slo] Error 1 make[1]: Leaving directory `/usr/local/updatescript/modsecurity2/modsecurity-apache_2.1.5/apache2' make: *** [install-recursive] Error 1
And when I try to restart apache it tells me:
PHP:Starting httpd: [Wed Jan 30 18:44:12 2008] [warn] module php5_module is already loaded, skipping httpd: Syntax error on line 20 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: cannot open shared object file: No such file or directory
Was there a solution for this?
Regards,
Jerret