I compiled the mod rewrite for apache (version 1.3.0) however, when I try to run the server I have this error about mod_rewrite:
Syntax error on line 27 of /home/myuser/apache/etc/httpd.conf:
Cannot load /home/myuser/apache/libexec/mod_rewrite.so into server:
/home/myuser/apache/libexec/mod_rewrite.so: undefined symbol: lstat
./sbin/apachectl start: httpd could not be started
A similar problem is here https://bugzilla.redhat.com/show_bug.cgi?id=101837 but the solution provided does not help me...I get an error after __THROW, the classic "missing , ; before {" and, removing the THROW clause leads me to an "lstat already defined here" (pointing at sys/stat.h header).