1

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).

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Phate
  • 319
  • 2
  • 6
  • 13
  • Should we infer that you're using a Redhat-based OS? – schaiba Mar 05 '13 at 10:52
  • If this is for the apache *1.3* you built yesterday (http://unix.stackexchange.com/questions/66841/ubuntu-cant-find-ndbm-h), you should probably make that clear. If not giving the version number generally doesn't hurt anyway ;) – goldilocks Mar 05 '13 at 13:16
  • Yes it is but I though it was a version indipendent problem, anyway I edited! – Phate Mar 05 '13 at 15:19
  • Any chance on pasting a `snip-it` of `line 27` and the surrounding lines (if relevant)? – cinelli Mar 13 '13 at 19:57
  • Hi, it's just the Load directive – Phate Mar 26 '13 at 10:20

0 Answers0