Skip to content

macos Undefined symbols for architecture x86_64 after bump to 46.9.1  #33

@delta1

Description

@delta1

Hi @afilini - experiencing this compilation issue on macos after libtor-sys was bumped - any ideas?

note: Undefined symbols for architecture x86_64:
            "_EVP_PKEY_get_base_id", referenced from:
                _tor_tls_cert_is_valid in libtor_sys-4d079d3be7ca8339.rlib(libtor_tls_a-x509_openssl.o)
            "_EVP_PKEY_get_bits", referenced from:
                _tor_tls_cert_is_valid in libtor_sys-4d079d3be7ca8339.rlib(libtor_tls_a-x509_openssl.o)
            "_EVP_PKEY_CTX_set1_hkdf_key", referenced from:
                _crypto_expand_key_material_rfc5869_sha256_openssl in libtor_sys-4d079d3be7ca8339.rlib(libtor_crypt_ops_a-crypto_hkdf.o)
            "_EVP_PKEY_CTX_set1_hkdf_salt", referenced from:
                _crypto_expand_key_material_rfc5869_sha256_openssl in libtor_sys-4d079d3be7ca8339.rlib(libtor_crypt_ops_a-crypto_hkdf.o)
            "_EVP_PKEY_CTX_add1_hkdf_info", referenced from:
                _crypto_expand_key_material_rfc5869_sha256_openssl in libtor_sys-4d079d3be7ca8339.rlib(libtor_crypt_ops_a-crypto_hkdf.o)
            "_EVP_PKEY_CTX_set_hkdf_md", referenced from:
                _crypto_expand_key_material_rfc5869_sha256_openssl in libtor_sys-4d079d3be7ca8339.rlib(libtor_crypt_ops_a-crypto_hkdf.o)
            "_SSL_get1_peer_certificate", referenced from:
                _tor_tls_get_peer_cert in libtor_sys-4d079d3be7ca8339.rlib(libtor_tls_a-tortls_openssl.o)
                _tor_tls_peer_has_cert in libtor_sys-4d079d3be7ca8339.rlib(libtor_tls_a-tortls_openssl.o)
                _try_to_extract_certs_from_tls in libtor_sys-4d079d3be7ca8339.rlib(libtor_tls_a-tortls_openssl.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions