1) “/usr/lib/libexpat.so: could not read symbols: File in wrong format
# mv srclib/apr-util/configure srclib/apr-util/configure_old —- only in case of 64 bit os)
# mv configure configure_old
Run config again.
2) “configure: error: mod_deflate has been requested but can not be built due to prerequisite failures”
For redhat users # yum install zlib zlib-devel
For ubuntu users # aptitude install zlibc zlib1g-dev
3)”no SSL-C headers found configure: error: …No recognized SSL/TLS toolkit detected” (This error occurs in case you added “–enable–ssl” in config.
For redhat users # yum install openssl openssl-devel
For ubuntu users # apt-get install libssl-dev