/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libssl.so.1.1, needed by /usr/f_ck_gfw/libs/lib//libcurl.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libcrypto.so.1.1, needed by /usr/f_ck_gfw/libs/lib//libcurl.so, not found (try using -rpath or -rpath-link)
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to d2i_X509_bio@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OpenSSL_version_num@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_srp_password@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA512_Update@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to X509_get_signature_nid@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_gets@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_destroy@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to CONF_modules_load_file@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to OPENSSL_init_ssl@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_resp_get0@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_set_writer@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_init@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_issuer_name@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_use_PrivateKey@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ERR_get_error@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to OBJ_nid2sn@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD4_Update@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CIPHER_get_name@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RAND_status@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_get_cert_store@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_get_opener@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_write@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DES_set_odd_parity@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_next_proto_select_cb@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_new_mem_buf@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_use_PrivateKey@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_set_session@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA224_Final@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_subject_name@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_get_current_compression@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_version@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_set_connect_state@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_NAME_get_entry@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SHA256_Update@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to d2i_OCSP_RESPONSE@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_error@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_puts@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DSA_get0_pqg@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SHA256_Final@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_id@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_get_writer@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_STRING_length@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_PUBKEY_get0_param@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_certificate@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to ERR_put_error@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_destroy@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_SESSION_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_load_private_key@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_load_crl_file@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_get0_RSA@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_create@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_response_status_str@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ERR_peek_error@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_write@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to i2a_ASN1_OBJECT@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to EVP_get_digestbyname@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RAND_file_name@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_pubkey@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_check_private_key@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_crl_reason_str@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_sha256@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PEM_read_bio_X509@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_NAME_print_ex@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD4_Init@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_load_verify_locations@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_MD_CTX_new@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD5_Update@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_puts@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PEM_read_bio_X509_AUX@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_ctrl@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PEM_read_bio_PrivateKey@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_MD_CTX_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_check_private_key@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_load_builtin_engines@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_get_data@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_STORE_set_flags@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_DigestInit_ex@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_STRING_to_UTF8@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_TIME_print@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_s_mem@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DH_get0_key@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to CRYPTO_get_ex_new_index@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_STRING_print@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_LOOKUP_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DES_ecb_encrypt@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ERR_clear_error@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_set_closer@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_get_input_flags@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OPENSSL_load_builtin_modules@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_X509_PUBKEY@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA384_Final@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_check_validity@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_set_bio@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_get0_DSA@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_msg_callback@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_ciphersuites@OPENSSL_1_1_1' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_CIPHER_get_bits@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_cipher_list@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RSA_get0_key@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_DigestUpdate@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_get_reader@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_set_default@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_check_issued@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_STRING_type@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_version@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD5_Init@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RAND_add@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_response_get1_basic@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_BASICRESP_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_set_opener@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PKCS12_parse@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to d2i_PKCS12_bio@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_printf@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DH_get0_pqg@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_new@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PKCS12_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_get_string_type@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_peer_certificate@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_gets@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_copy_parameters@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_clear_options@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_STORE_add_lookup@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_md5@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_NAME_ENTRY_get_data@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to GENERAL_NAMES_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ASN1_STRING_get0_data@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_verify@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_shutdown@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_resp_count@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_privatekey@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get0_alpn_selected@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_s_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_create_method@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_keylog_callback@OPENSSL_1_1_1'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_set_fd@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_ex_data@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA224_Update@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_set_flags@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to i2d_X509_PUBKEY@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_ctrl@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_DigestFinal_ex@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_create@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_get_version@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_set_reader@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to X509_digest@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ERR_peek_last_error@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get0_signature@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_set_verify@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA384_Init@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_srp_username@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to TLS_client_method@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to OBJ_find_sigid_algs@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD4_Final@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_add_client_CA@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_set_data@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_use_PrivateKey_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_read@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_new@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OPENSSL_sk_pop_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to i2t_ASN1_OBJECT@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA384_Update@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to ERR_reason_error_string@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA512_Init@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_destroy_method@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to X509_STORE_load_locations@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OPENSSL_sk_value@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_single_get0_status@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_get0_user_data@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get0_extensions@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA224_Init@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_finish@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SSL_set_options@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_puts@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_read@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_get_next@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_clear_flags@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_post_handshake_auth@OPENSSL_1_1_1' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_new@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_basic_verify@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_method_get_closer@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_options@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RSA_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_ext_d2i@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to SHA512_Final@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_by_id@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BN_print@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_verify_result@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_current_cipher@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_response_status@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RSA_flags@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PKCS12_PBE_add@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to CRYPTO_malloc@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_get_first@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_EXTENSION_get_object@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_use_certificate@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_RESPONSE_free@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to TLS_method@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_pending@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_ctrl_cmd@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to d2i_PrivateKey_bio@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_get1_RSA@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_set_result@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DES_set_key@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_peer_cert_chain@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_get_shutdown@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_set_ex_data@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get_serialNumber@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_callback_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_sess_set_new_cb@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_NAME_get_index_by_NID@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get0_notBefore@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to PEM_write_bio_X509@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BN_num_bits@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_get_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SHA256_Init@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_EXTENSION_get_data@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_s_socket@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509V3_EXT_print@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_get0_DH@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_alert_desc_string_long@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to DSA_get0_key@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ERR_error_string_n@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to CRYPTO_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to UI_OpenSSL@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RAND_bytes@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to EVP_PKEY_free@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to MD5_Final@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to BIO_f_ssl@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_int_ctrl@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to ENGINE_get_id@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to GENERAL_NAME_free@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_connect@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OCSP_cert_status_str@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_meth_set_callback_ctrl@OPENSSL_1_1_0'
/usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to RAND_poll@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to RAND_load_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_get0_notAfter@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to X509_verify_cert_error_string@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_new@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OPENSSL_sk_pop@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' /usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to SSL_CTX_use_certificate_file@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to OPENSSL_sk_num@OPENSSL_1_1_0' /usr/f_ck_gfw/pgsql/lib//libpq.so: undefined reference to BIO_get_new_index@OPENSSL_1_1_0'
/usr/f_ck_gfw/libs/lib//libcurl.so: undefined reference to `BIO_free@OPENSSL_1_1_0'
collect2: error: ld returned 1 exit status
Makefile:31: recipe for target 'iaproxy' failed
make: *** [iaproxy] Error 1

解决方法:

将需要将openssl 1.1.0库的路径加到ld.so.conf里,或者makefile中指定。

# cat /etc/ld.so.conf.d/local.conf
/usr/f_ck_gfw/libs/lib
/usr/f_ck_gfw/libs/openssl/lib

此外,针对编译libwebsocket等库时,出现如下错误提示的问题。

error: expected specifier-qualifier-list before ‘EVP_PKEY_CTX’

解决方法:

安装 openssl-1.0.2u

tar -xf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
对于AIX缺少某些组件工具情况下,需要主动./Configure aix64-cc来指定64位编译模式
./config --prefix=/opt/mylib/openssl-1.0.x
make && make install

=====================以下是其它无关=================

Makefile路径

Makefile路径

附makefile make版本低于等于3.80时,取自身make文件的路径:

mkfile_dir := ( w o r d 2 , (word 2, (dir $(MAKEFILE_LIST)))

==============

libcurl的引用时的编译问题

/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-version.o): In function curl_version_info': version.c:(.text+0x3e): undefined reference to zlibVersion'
/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-version.o): In function curl_version': version.c:(.text+0xc6): undefined reference to zlibVersion'
/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-content_encoding.o): In function exit_zlib': content_encoding.c:(.text+0x514): undefined reference to inflateEnd'
/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-content_encoding.o): In function inflate_stream': content_encoding.c:(.text+0x696): undefined reference to inflate'
content_encoding.c:(.text+0x75f): undefined reference to inflateEnd' content_encoding.c:(.text+0x778): undefined reference to inflateInit2_'
/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-content_encoding.o): In function gzip_init_writer': content_encoding.c:(.text+0xa89): undefined reference to zlibVersion'
content_encoding.c:(.text+0xac0): undefined reference to inflateInit2_' content_encoding.c:(.text+0xb28): undefined reference to inflateInit2_'
/opt/mylib/libcurl/ver5/lib/libcurl.a(libcurl_la-content_encoding.o): In function deflate_init_writer': content_encoding.c:(.text+0xb9f): undefined reference to inflateInit_'

-Bstatic -lz (或者直接-lz)

/opt/mylib/openssl-1.1.1/ver5/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_globallookup': dso_dlfcn.c:(.text+0x30): undefined reference to dlopen'
dso_dlfcn.c:(.text+0x43): undefined reference to dlsym' dso_dlfcn.c:(.text+0x4e): undefined reference to dlclose'
/opt/mylib/openssl-1.1.1/ver5/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_pathbyaddr': dso_dlfcn.c:(.text+0x9f): undefined reference to dladdr'
dso_dlfcn.c:(.text+0xf5): undefined reference to dlerror' /opt/mylib/openssl-1.1.1/ver5/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_unload':
dso_dlfcn.c:(.text+0x3fd): undefined reference to dlclose' /opt/mylib/openssl-1.1.1/ver5/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_load':
dso_dlfcn.c:(.text+0x4c7): undefined reference to dlopen' dso_dlfcn.c:(.text+0x54a): undefined reference to dlclose'
dso_dlfcn.c:(.text+0x574): undefined reference to dlerror' /opt/mylib/openssl-1.1.1/ver5/lib/libcrypto.a(dso_dlfcn.o): In function dlfcn_bind_func':
dso_dlfcn.c:(.text+0x624): undefined reference to dlsym' dso_dlfcn.c:(.text+0x6ca): undefined reference to dlerror'
collect2: ld returned 1 exit status

-Bdynamic -ldl (或者直接-ldl)

  • OpenAI 推出超神 ChatGPT 注册攻略来了
  •