If you are getting compilation errors from things which include openssl, there is a simple fix. Redhat shipped three broken rpm package includes in openssl-1.0.0. For some reason unclear to me, CentOS hasn’t pushed out this fix. So you have to do it yourself.
Details are here: https://bugzilla.redhat.com/show_bug.cgi?id=593723
The fix is really simple:
$ sudo sed -i -e 's/lib6464/lib64/' /usr/lib64/pkgconfig/libcrypto.pc $ sudo sed -i -e 's/lib6464/lib64/' /usr/lib64/pkgconfig/libssl.pc $ sudo sed -i -e 's/lib6464/lib64/' /usr/lib64/pkgconfig/openssl.pcThis has been cut for brevity to my livejournal friends. You can read the entire article at http://www.netconsonance.com/2013/01/broken-path-usrlib6464-on-centos-6/.