/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err

his one has been bugging me for a couple of hours now, when trying to compile PHP on a 64bit OS …

Simple put it’s a missing symlink, and the config script is trying to “failover” to the version is can find which is 32 bit …

ln -sf /lib64/libcom_err.so.2 /lib64/libcom_err.so

Et voila fixed!

Tags: , , , , , , ,
One Response to “/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err”
  1. Richard Lee says:

    Yeah, I had this problem when building PHP.

    It’s just annoying when the configure script reports it as having an incorrect zlib version.

  2.  
Leave a Reply