Your OpenSSL headers do not match your library

Kevin Boers dgtlshdw at gmail.com
Sat Aug 22 06:46:15 EST 2009


Hello,

I recently installed a newer version of OpenSSL on my system and decided to
get the latest of OpenSSH as well. I installed OpenSSL 0.9.8k without any
difficulty. When I tried to install OpenSSH, however, I got this message:

checking OpenSSL header version... 9080bf (OpenSSL 0.9.8k 25 Mar 2009)
checking OpenSSL library version... 90701f (OpenSSL 0.9.7a Feb 19 2003)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.
If you are sure your installation is consistent, you can disable the check
by running "./configure --without-openssl-header-check".
Also see contrib/findssl.sh for help identifying header/library mismatches.

So, I ran findssl.sh and got the following:

Searching for OpenSSL header files.
0x009080bfL /usr/include/openssl/opensslv.h

Searching for OpenSSL shared library files.
0x0090701fL /lib/libcrypto.so.4
0x0090701fL /lib/libcrypto.so.0.9.7a
0x0090802fL /opt/splunk/lib/libcrypto.so
0x0090802fL /opt/splunk/lib/libcrypto.so.0.9.8
0x0090701fL /usr/lib/libcrypto.so
0x0090701fL /var/www/vhosts/chroot/lib/libcrypto.so.4
0x0090701fL /var/www/vhosts/<domain name>/lib/libcrypto.so.4
(and then 20 more of those for each of the domains that Plesk manages)

Searching for OpenSSL static library files.
0x0090802fL /opt/splunk/lib/libcrypto.a
0x009080bfL /usr/lib/libcrypto.a

0x009080bfL is the correct, new version of OpenSSL. 0x0090701fL appears to
be 0.9.7a. Should findssl.sh have found a shared library for 0.9.8? It only
seems to have found the 0.9.7 version and whatever splunk packaged up
(0x0090802fL). There is a static version of the 0.9.8 library -- is that
enough? I don't really know how to proceed here, so any advice would be
greatly appreciated.

Thanks!

Kevin


More information about the openssh-unix-dev mailing list