Homebrew and Undefined symbols for architecture arm64

Hi,

I have a mac with M1 pro.

I installed libfido2 with homebrew.

I took the static libarary - libfido2.a and added to a xcode project (simple app). In this project I am just trying to test the libfido2, to see if its working.

When building I get :

Undefined symbols for architecture arm64:

"_BN_CTX_end", referenced from:

  _es256_pk_to_EVP_PKEY in libfido2.a(es256.c.o)

  _es256_pk_from_EC_KEY in libfido2.a(es256.c.o)

any ideas why, and how to fix this?

cheers

BN_CTX_end is part of OpenSSL. It seems that the libfido2.a library you built has a dependence on one of the OpenSSL libraries.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Homebrew and Undefined symbols for architecture arm64
 
 
Q