I'm trying to build an example for static library.
I've got this error in the build:
Undefined symbols for architecture arm64:
"_CFAllocatorCreate", referenced from:
_aws_wrapped_cf_allocator_new in libchdb.a[5985](aws__allocator.c.o)
"_CFDataCreate", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFDataCreateWithBytesNoCopy", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
_s_verify_signature in libchdb.a[6717](aws__securityframework_ecc.c.o)
_s_verify_signature in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFDataGetBytePtr", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFDataGetLength", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFDictionaryAddValue", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFDictionaryCreateMutable", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_CFRelease", referenced from:
_aws_wrapped_cf_allocator_destroy in libchdb.a[5985](aws__allocator.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
...
"_SecKeyCreateSignature", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_SecKeyCreateWithData", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_SecKeyVerifySignature", referenced from:
_s_verify_signature in libchdb.a[6717](aws__securityframework_ecc.c.o)
"___CFConstantStringClassReference", referenced from:
in libchdb.a[5985](aws__allocator.c.o)
"_iconv", referenced from:
_xmlIconvConvert in libchdb.a[7236](libxml2__encoding.c.o)
"_iconv_close", referenced from:
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlIconvFree in libchdb.a[7236](libxml2__encoding.c.o)
"_iconv_open", referenced from:
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
_xmlFindExtraHandler in libchdb.a[7236](libxml2__encoding.c.o)
"_kCFAllocatorNull", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
_s_verify_signature in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kCFBooleanFalse", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kCFBooleanTrue", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrCanDerive", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrCanSign", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrCanVerify", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrKeyClass", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrKeyClassPrivate", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrKeySizeInBits", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrKeyType", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecAttrKeyTypeECSECPrimeRandom", referenced from:
_aws_ecc_key_pair_new_from_private_key_impl in libchdb.a[6717](aws__securityframework_ecc.c.o)
"_kSecKeyAlgorithmECDSASignatureDigestX962", referenced from:
_s_sign_message in libchdb.a[6717](aws__securityframework_ecc.c.o)
_s_verify_signature in libchdb.a[6717](aws__securityframework_ecc.c.o)
ld: symbol(s) not found for architecture arm64
Operating system
macOS 26.3
M1
chDB version
Latest release of chdb-core
I'm trying to build an example for static library.
I've got this error in the build: