Libexpat Problem with Apache2 on 64 bit OS.

Libexpat Problem with Apache2 on 64 bit OS.

If you get the following error while installing Apache2 on 64bit linux.

/usr/lib/libexpat.so: could not read symbols: File in wrong format

Solution:

1. Delete file ‘srclib/apr-util/configure’ under ‘httpd-2.0.61’

2. Delete ‘configure’ file under ‘httpd-2.0.61’

3. rebuild the configure scripts, run

./buildconf

4. Now you have a 64 bit enabled apr-util. You have to specify it when configuring apache

e.g.
[root@superbox]#  ./configure –enable-lib64

make

make install

Your apache is ready to start….

Author: By me myself…….

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