For whatever reason, you may need to build the Apache httpd from source. Build apache from source file is among the easiest one if you are talking about LAMP. But that’s not the case if you’re building on a 64bit machine. Most probably you’ll get the following message:
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/Install/httpd-2.2.8/srclib/apr-util’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Install/httpd-2.2.8/srclib/apr-util’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Install/httpd-2.2.8/srclib’
make: *** [all-recursive] Error 1
The main reason is they don’t like expatriate. No, seriously the main culprit is the /usr/lib/libexpat.so: could not read symbols: File in wrong format. The quick fix is quite simple, just use the internal libexpat by adding –with-expat=builtin when configuring the build.
./configure --prefix=/usr/local/apache2 --enable-module=so --enable-mods-shared=most --with-expat=builtin
The reason behind it is that we are building for 64bit (x86_64) CPU while the libexpat is in 32bit format. Ideally you could point to the correct 64bit lib in /usr/lib/lib64. Nevertheless this solution work for me





sowie bro.. me x paham.. uhuhu
skrang semua dah kearah 64 bit nih..
kita yg berada kat transition period ni mmg hadapi debug camnih,hehehe..
dan yg bestnye kita terlibat secara langsung dlm proses nih:)
Saya gelak diri sendiri. Hari tuh masa kelas PHP, saya cakap fedora takleh pakai apache… Ahahahha
apa la kau bro, lari tajuk je akhir-akhir ni
kau boleh bagi aku cara paling senang nak setup SAP tak. Baru buat variant configuration aje aku dah agak pening
ape mcm broo?? mana pergi lama xnampak!!
Bro, lama lagi ker baru leh tengok gambar yang cantik2?
hopefully hasrat nak beli kamera baru tercapai..amin…
bz bebenor nih…
tapi tak salah saya pernah terseremppak dengan blog baru shutterspeak…
saya pun baru mengaktifkan diri…
saje letak komen nak bagi besar sikit nama aku kat top commentator tu