Cannot dynamically link with libcrypto shared library

Hi Cohult,

what is openssl version for confd-basic-7.6 for centos 7.

Thanks,
Jayashankara

We have faced below issue for OpenSSL 1.0.2k-fips 26 Jan 2017.

confd-basic-7.6.linux.x86_64/…/confd/bin/confd -c …/config/confd.conf --addloadpath /home/migupta/test_with_latest_confd/confd-basic-7.6.linux.x86_64/…/confd/etc/confd
Bad configuration: …/config/confd.conf:0: cannot dynamically link with libcrypto shared library

We also tried OpenSSL 1.1.1k 25 Mar 2021, Still same issue.

Thanks,
Jai

You can likely get away with a simple soft link for Centos 7 or 8.
Example:

$ ln -s /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so.1.0.0

If not, you need to rebuild libconfd. See ConfD UG chapter " Using a different version of OpenSSL and optionally activating FIPS". Then download the libconfd tarball and See “Building the crypto interface module” in the README.
Example: