Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors im getting: /usr/bin/ld: warning: librtmp.so.0, needed by ../lib/libcurl-7.56.0/lib/libcurl.so, not found (try using -rpath or -rpath-link) plus many others like 200 'undefined reference...` #50

Open
i-use-arch-linux-btw opened this issue Aug 23, 2021 · 0 comments

Comments

@i-use-arch-linux-btw
Copy link

i-use-arch-linux-btw commented Aug 23, 2021

[ap@muchpain example]$ make example
\nMaking example\n\n\ng++ -I../lib/libcurl-7.56.0/include -I../lib/jsoncpp-1.8.3/include -I../lib/libwebsockets-2.4.0/include -I../lib/libbinacpp/include
example.cpp
-L../lib/libcurl-7.56.0/lib
-L../lib/libwebsockets-2.4.0/lib
-L../lib/libbinacpp/lib
-lcurl -ljsoncpp -lcrypto -lwebsockets -lbinacpp -o example
example.cpp:231:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
231 | printf(KRED"Order Failed! Reason: %s\n"RESET, reason.c_str() );
| ^
example.cpp:233:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
233 | printf(KGRN"\n\n%s %s %s %s(%s) %s %s\n\n"RESET, symbol.c_str() , side.c_str() , orderType.c_str() , orderId.c_str() , orderStatus.c_str(), price.c_str(), qty.c_str() );
| ^
example.cpp:236:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
236 | printf(KBLU"\n\n%s %s %s %s %s\n\n"RESET, symbol.c_str() , side.c_str() , executionType.c_str() , orderType.c_str() , orderId.c_str() );
| ^
example.cpp: In function ‘int ws_depth_onData(Json::Value&)’:
example.cpp:173:1: warning: no return statement in function returning non-void [-Wreturn-type]
173 | }
| ^
example.cpp: In function ‘int ws_klines_onData(Json::Value&)’:
example.cpp:191:1: warning: no return statement in function returning non-void [-Wreturn-type]
191 | }
| ^
example.cpp: In function ‘int ws_aggTrade_OnData(Json::Value&)’:
example.cpp:208:1: warning: no return statement in function returning non-void [-Wreturn-type]
208 | }
| ^
example.cpp: In function ‘int ws_userStream_OnData(Json::Value&)’:
example.cpp:252:1: warning: control reaches end of non-void function [-Wreturn-type]
252 | }
| ^
/usr/bin/ld: warning: librtmp.so.0, needed by ../lib/libcurl-7.56.0/lib/libcurl.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl.so.1.0.0, needed by ../lib/libcurl-7.56.0/lib/libcurl.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by ../lib/libcurl-7.56.0/lib/libcurl.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /tmp/ccDd5W8r.o: in function main': example.cpp:(.text+0x240a): undefined reference to BinaCPP::init(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_verify@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_STRING_type@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to CRYPTO_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_shutdown@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_want@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_verify_result@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to d2i_PKCS12_fp@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_set_opener@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to EVP_cleanup@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_write@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_new@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_set_fd@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_privatekey@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_sasl_bind@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RSA_flags@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_get_dn_ber@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_resp_get0@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BN_num_bits@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_unbind_ext@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_puts@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_sha512@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_connect@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_get_input_flags@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_single_get0_status@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_get_attribute_ber@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_set_ex_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to DES_set_odd_parity@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_SetBufferMS' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_resp_count@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_rbio@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EC_KEY_new_by_curve_name@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_egd@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_srp_password@OPENSSL_1.0.1'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_get_pubkey@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_init@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_set_connect_state@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_get_cert_store@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_NAME_get_entry@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_free_strings@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_parse_result@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_get_ex_data@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_add@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_ctrl@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to sk_pop_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to TLSv1_2_client_method@OPENSSL_1.0.1'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_DigestFinal_ex@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Init' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Connect1'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_set_reader@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_get_reader@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_set_result@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_set_option@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to GENERAL_NAMES_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_get_id@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_SetupURL'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_library_init@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_MD_CTX_destroy@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_ctrl@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_cert_status_str@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_accept@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_STRING_print@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_NAME_ENTRY_get_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to CONF_modules_load_file@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_wbio@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_get_next@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_get_error@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_fd@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_sha1@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_file_name@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to CRYPTO_cleanup_all_ex_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_abandon_ext@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_use_certificate_file@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_next_proto_select_cb@OPENSSL_1.0.1' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_ex_data@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_peer_cert_chain@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to BIO_new_socket@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libbinacpp/lib/libbinacpp.so: undefined reference to HMAC@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_BASICRESP_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_check_issued@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_clear_error@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_pending@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to OBJ_sn2nid@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_s_mem@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to EVP_PKEY_copy_parameters@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to X509_STORE_CTX_get_error_depth@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSLv23_client_method@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_add_client_CA@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_use_PrivateKey@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_servername@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_destroy_method@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_get_serialNumber@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_callback_ctrl@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD4_Update@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RSA_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to i2d_X509_PUBKEY@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to EVP_PKEY_get1_RSA@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to ERR_remove_state@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to CONF_modules_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SHA256_Final@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD4_Final@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to PEM_read_X509@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_msgfree@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSLeay@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_result@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_get_first@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_get_subject_name@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD5_Final@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_printf@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to EVP_PKEY_id@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_load_builtin_engines@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_ctrl@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509V3_EXT_print@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_load_error_strings@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_set_session@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_create_method@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_basic_add1_cert@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_NAME_get_index_by_NID@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_search_ext@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_get_option@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_ctrl_cmd@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_check_private_key@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_get_string_type@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_by_id@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_set_default_verify_paths@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_certificate@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_ex_new_index@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_get_ex_new_index@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSLv3_client_method@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_set_closer@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_TIME_print@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_verify_cert_error_string@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_peer_certificate@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_new@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OPENSSL_add_all_algorithms_noconf@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to sk_value@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Write' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_RESPONSE_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OPENSSL_load_builtin_modules@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_EXTENSION_get_object@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to X509_STORE_CTX_set_error@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_response_get1_basic@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to X509_STORE_CTX_get_ex_data@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_memfree@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to i2a_ASN1_OBJECT@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_f_ssl@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_INTEGER_get@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_get_ext_d2i@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_load_crl_file@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_set_info_callback@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_pvt_url_scheme2proto@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_cipher_list@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_set_SSL_CTX@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to DES_set_key@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get1_session@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_peek_error@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_check_validity@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_ConnectStream' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_STORE_add_lookup@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_current_cipher@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_STRING_to_UTF8@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_load_private_key@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_next_message@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to PEM_write_bio_X509@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_finish@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Close' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_get_opener@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to X509_STORE_CTX_get_error@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_set_verify@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BN_print@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD4_Init@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_MD_CTX_create@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EC_KEY_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to CRYPTO_malloc@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to PKCS12_PBE_add@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_cleanup@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD5_Init@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_sha256@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to PKCS12_parse@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_OpenSSL@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_get_issuer_name@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to EVP_PKEY_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_get_error@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SHA256_Init@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_error_string_n@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_get_closer@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to BIO_ctrl@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_crl_reason_str@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_get_SSL_CTX@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_new@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_err2string@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to d2i_OCSP_RESPONSE@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_shutdown@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_DigestInit_ex@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_set_bio@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_init_fd@OPENLDAP_2.4_2'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_SESSION_free@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_STRING_length@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_msgtype@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to sk_pop@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Free' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to DES_ecb_encrypt@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_get0_user_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_status@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_free_urldesc@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SHA256_Update@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_LOOKUP_file@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_response_status_str@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_use_certificate@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_STORE_set_flags@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_read@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ENGINE_set_default@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_url_parse@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Read'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ASN1_STRING_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_srp_username@OPENSSL_1.0.1'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_load_file@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_EXTENSION_get_data@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RTMP_Alloc' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_load_verify_locations@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_CTX_set_session_id_context@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to i2t_ASN1_OBJECT@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_version@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ERR_remove_thread_state@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to RAND_bytes@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CTX_set_msg_callback@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to ldap_first_message@OPENLDAP_2.4_2' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_basic_verify@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to EVP_DigestUpdate@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to MD5_Update@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to UI_method_get_writer@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to SSL_CIPHER_get_name@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to SSL_set_ex_data@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to PKCS12_free@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to OCSP_response_status@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to sk_num@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libwebsockets-2.4.0/lib/libwebsockets.so: undefined reference to ERR_error_string@OPENSSL_1.0.0' /usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to X509_NAME_print_ex@OPENSSL_1.0.0'
/usr/bin/ld: ../lib/libcurl-7.56.0/lib/libcurl.so: undefined reference to `UI_method_set_writer@OPENSSL_1.0.0'
collect2: error: ld returned 1 exit status
make: *** [Makefile:26: example] Error 1

@i-use-arch-linux-btw i-use-arch-linux-btw changed the title Please can someone help me fix the error: '/usr/bin/ld: cannot find -lbinacpp collect2: error: ld returned 1 exit status' Errors im getting: /usr/bin/ld: warning: librtmp.so.0, needed by ../lib/libcurl-7.56.0/lib/libcurl.so, not found (try using -rpath or -rpath-link) plus many others like 200 'undefined reference...` Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant