-
Notifications
You must be signed in to change notification settings - Fork 216
Undefined symbols for architecture armv7 #143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You are linking with libCrypto, right? |
Yes i am. Also please note that i am able to install the application on my device through Xcode very well only getting issue when i am trying to create archive of the application to distribute it. In my settings, i have tried $(ARCHS_STANDARD_32_BIT) only as well Build Active Architecture Only to NO |
I tried move libsasl to under mailcore but getting same error. |
What's in your linker flags? |
-ObjC only. |
1 similar comment
-ObjC only. |
Throw in -lcrypto too. |
Cool that's solve my issue. Thanks :) |
Glad I could be of service! ✨ |
When you add a library you also need to let the linker know with -l flags. Here you want to add |
When i am try to build and install the application which uses libsasl2.a library it works fine but when i am going to create archive of it to distribute for testing i am getting below errors.
Undefined symbols for architecture armv7:
"_EVP_DigestUpdate", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_EVP_DigestFinal", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_EVP_get_digestbyname", referenced from:
_generate_otp in libsasl2.a(otp.o)
_otp_server_mech_step in libsasl2.a(otp.o)
"_DES_ede3_cbc_encrypt", referenced from:
_enc_3des in libsasl2.a(digestmd5.o)
_dec_3des in libsasl2.a(digestmd5.o)
"_EVP_cleanup", referenced from:
_otp_common_mech_free in libsasl2.a(otp.o)
"_EVP_DigestInit", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_OpenSSL_add_all_digests", referenced from:
_otp_server_plug_init in libsasl2.a(otp.o)
_otp_client_plug_init in libsasl2.a(otp.o)
"_DES_key_sched", referenced from:
_init_des in libsasl2.a(digestmd5.o)
_init_3des in libsasl2.a(digestmd5.o)
"_DES_cbc_encrypt", referenced from:
_enc_des in libsasl2.a(digestmd5.o)
_dec_des in libsasl2.a(digestmd5.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: