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

Tags: , , ,

Ar mai trebui sa citesti si ...

Posted in Tutorials - cPanel.

Tagged with , , .


One Response

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

  1. Tania says

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



Some HTML is OK

or, reply to this post via trackback.

CommentLuv Enabled