Undefined reference to SSL_library_init and SSL_load_error_strings

前端 未结 4 415
眼角桃花
眼角桃花 2020-12-17 15:19

I am implementing a OpenSSL code and have already included required header files but still I am getting errors like *

undefined reference to SSL

4条回答
  •  时光说笑
    2020-12-17 15:23

    ldd libssl.so -> libcrypto.so.1.1 => not found

    sudo ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1

    libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f17d46c7000)

提交回复
热议问题