NVIDIA Nsight Compute 2020.02 symbol lookup error on Fedora 32

When trying to launch ncu-ui on Fedora 32, a symbol lookup error occurs

: ~/NVIDIA-Nsight-Compute-2020.2$ ./ncu-ui
/home/scrosby/NVIDIA-Nsight-Compute-2020.2/host/linux-desktop-glibc_2_11_3-x64/CrashReporter: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

Solution is to remove libcrypto.so and libcrypto.so.1.1 from the host/linux-desktop-glibc_2_11_3-x64 directory from Nsight Compute distribution. That makes ncu-ui use the OS versions of the library.

Thanks for the feedback. We recently became aware of this issue, and we will look into providing a fix soon.
As an alternative to removing the libraries shipped with the tool entirely, you could consider updating the ncu-ui launcher script to pick the right version for your OS

nm -D /lib64/libk5crypto.so.3 2>/dev/null | grep 'U EVP_KDF_ctrl' >/dev/null
if [[ ${PIPESTATUS[1]} -eq 0 ]]; then
    echo "libk5crypto.so.3 requires EVP_KDF_ctrl. Switching to system OpenSSL libraries" >&2
    export LD_PRELOAD=/lib64/libcrypto.so.1.1:/lib64/libssl.so.1.1
fi
1 Like