Open edgarlopez opened 4 years ago
sudo apt install libssl1.0 libssl1.0-dev
sudo apt install libssl1.0 libssl1.0-dev I think the best approach is you compile openssl static into BS_SDK
I think it's the best. And the SSL in the early versions of the SDK was static. However, as the SSL versions of the devices that the SDK should support are diversified, they have to be separated from static.
Hi @suprema-charlie [INFO] [SocketHandler] [2020/02/14 17:58:47] [TID:577d4b80] StartNewSSLSession [-3002] I got this error on ubuntu 18.04 when I was trying to call BS2_ConnectDeviceViaIP. There seems to be a problem with ssl in Linux. There is no problem in the window
Hi @suprema-charlie [INFO] [SocketHandler] [2020/02/14 17:58:47] [TID:577d4b80] StartNewSSLSession [-3002] I got this error on ubuntu 18.04 when I was trying to call BS2_ConnectDeviceViaIP. There seems to be a problem with ssl in Linux. There is no problem in the window
I have the same issue with previous version too. I use BS2_ConnectDevice (context, deviceID) to connect to the device
I think it's the best. And the SSL in the early versions of the SDK was static. However, as the SSL versions of the devices that the SDK should support are diversified, they have to be separated from static.
could you update to the latest version openssl 1.1.1? https://www.openssl.org/news/changelog.html
try to linker library libBS_SDK_V2.so
undefined reference to
SSL_CTX_free' undefined reference to
TLSv1_1_server_method' undefined reference toCRYPTO_set_locking_callback' undefined reference to
SSL_CTX_set_default_passwd_cb_userdata' undefined reference toRSA_public_decrypt' undefined reference to
SSLv3_server_method' undefined reference toCRYPTO_num_locks' undefined reference to
SSL_CTX_check_private_key' undefined reference toSSL_get_error' undefined reference to
CRYPTO_malloc' undefined reference toERR_error_string' undefined reference to
RSA_free' undefined reference toSSL_CTX_set_default_passwd_cb' undefined reference to
SSL_CTX_load_verify_locations' undefined reference toSSL_CTX_set_cipher_list' undefined reference to
SSL_library_init' undefined reference toCRYPTO_free' undefined reference to
xmlFreeDoc' undefined reference toCRYPTO_set_id_callback' undefined reference to
SSL_read' undefined reference toSSL_accept' undefined reference to
TLSv1_server_method' undefined reference toxmlParseDoc' undefined reference to
SSLv23_server_method' undefined reference toxmlDocGetRootElement' undefined reference to
SSL_shutdown' undefined reference toPEM_read_bio_RSA_PUBKEY' undefined reference to
SSL_CTX_set_verify' undefined reference toSSLeay_version' undefined reference to
xmlNodeGetContent' undefined reference toSSL_CTX_new' undefined reference to
SSL_CTX_use_certificate_chain_file' undefined reference toERR_clear_error' undefined reference to
SSL_load_error_strings' undefined reference toSSL_free' undefined reference to
SSL_write' undefined reference toSSL_set_fd' undefined reference to
BIO_new_mem_buf' undefined reference toSSL_CTX_use_PrivateKey_file' undefined reference to
SSL_CTX_ctrl' undefined reference toERR_get_error' undefined reference to
SSL_new' undefined reference to `TLSv1_2_server_me