Broken path /usr/lib6464 on CentOS 6

By on January 15, 2013 - Geekery

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.pc