Hello! Using clang included into konan I build op...
# kotlin-native
c
Hello! Using clang included into konan I build openssl. And then when I try to link openssl and my kotlin-native project on macos I got error like this:
Copy code
_rsaz_1024_red2norm_avx2", referenced from:
      _RSAZ_1024_mod_exp_avx2 in libcrypto.a(rsaz_exp_1940672638.o)
  "_ecp_nistz256_gather_w5", referenced from:
      _ecp_nistz256_points_mul in libcrypto.a(ecp_nistz256_-493816618.o)
ld: symbol(s) not found for architecture x86_64
How I can fix it? Maybe I must pass special arguments to clang when I compile openssl? Now I pass
--target=x86_64-apple-macos
and
-march=x86-64
to clang.
s
Hello! It’s hard to help with this kind of problems without a reproducer :) Can you share it, please?