Troubleshooting "undefined symbol EVP_KDF_CTX_free" error

This article helps debug the error "ssh: undefined symbol" on SLES15.

LAST TESTED ON CHECKMK 2.0.0P1

Table of Contents

Problem

After updating SLES15 SP1 to SP2 or SP3 you might encounter the following when monitoring something via SSH:

fail: ssh: symbol lookup error: ssh: undefined symbol: EVP_KDF_CTX_free, version OPENSSL_1_1_1d

Solution

This is a SLES15SP2 issue, and as of now, there is only a workaround. Just add either of those settings in your SSH rule before your commands:

LD_LIBRARY_PATH=/usr/lib64 ssh root@$HOSTNAME$ /usr/bin/check_mk_agent  

unset LD_LIBRARY_PATH; ssh root@$HOSTNAME$ /usr/bin/check_mk_agent