Common Apache compilation problems on Linux servers

1) “/usr/lib/libexpat.so: could not read symbols: File in wrong format
Solutions :
#make clean
# mv srclib/apr-util/configure srclib/apr-util/configure_old —- only in case of 64 bit os)
# mv configure configure_old
# ./buildconf
Run config again.

2) “configure: error: mod_deflate has been requested but can not be built due to prerequisite failures”
Solutions :
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.

Solutions :
For redhat users # yum install openssl openssl-devel
For ubuntu users # apt-get install libssl-dev

Advertisements
This entry was posted in LAMP. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s