Skip to content


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

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

Posted in Tutorials - cPanel.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.