When you’re compiling apache 2.2 and upper versions, on 64 bit architectures, Fedora, Centos whatever, while running make will result in this error :
libexpat.so: could not read symbols: File in wrong format
If you got this, it’s simple: you’re compiling 32 bit native apache on 64 bit architecture, so it has issues finding the lib folder.
FIX: add the following 2 lines below to the ‘./configure’ line, then rerun ‘make’.
–enable-lib64
–libdir=/usr/lib64


Not sure that this is true:), but thanks for a post.
Thank you