timwi wrote in apache

"Missing" shared object file, but it's there

Hi experts. :)

What reason might there be for this error message:
Syntax error on line 26 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: cannot open shared object file: No such file or directory
I can't really spot a syntax error — the line in question is:
LoadModule rewrite_module libexec/mod_rewrite.so
and the file /usr/local/apache/libexec/mod_rewrite.so actually does exist. Help? (All I'm trying to do is to enable mod_rewrite.)