If you want to compile Apache 2.2.4 under Red Hat AS 5.0 x86-64 you can get this error:
/usr/lib/libexpat.so: could not read symbols: File in wrong format
There is a patch in the ASF Bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=28205 ), but this patch works only up to version 2.2.3. So, i create a new one, which works with 2.2.4
Here it is http://blog.chaos-co.de/downloads/apr-util_2.2.4.patch
Unpack your apache with tar, go in the httpd-2.2.4/srclib/apr-util directory and apply it with “patch -p1 < /usr/local/src/apr-util_2.2.4.patch” 继续阅读 →