mod_rewrite: 未定義シンボル: lstat エラー

mod_rewrite: 未定義シンボル: lstat エラー

Apache用のMod Rewrite(バージョン1.3.0)をコンパイルしましたが、サーバーを実行しようとすると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

ここにも同様の質問がありますhttps://bugzilla.redhat.com/show_bug.cgi?id=101837しかし、提供されたソリューションは役に立ちませんでした... __THROW以降にエラーが発生しました。古典的な "missing ; before {"およびTHROW句を削除すると、 "lstatはすでにここに定義されています"(sys / stat .hヘッダー)。

ベストアンサー1

おすすめ記事