Skip to content
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

问问 libcurl 版本 #23

Open
LinChenNBA opened this issue Mar 7, 2018 · 0 comments
Open

问问 libcurl 版本 #23

LinChenNBA opened this issue Mar 7, 2018 · 0 comments

Comments

@LinChenNBA
Copy link

I'm building openssl for Android-16 and cURL for Android-21 as suggested in _shared.sh
I'm able to use openssl to en/decode messages, but when I call curl_easy_init() I get bunch of errors similar to this:

../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_recv: error: undefined reference to 'SSL_read'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_recv: error: undefined reference to 'SSL_get_error'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_connect_step2: error: undefined reference to 'SSL_connect'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_connect_step2: error: undefined reference to 'SSL_get_error'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_connect_step2: error: undefined reference to 'SSL_get_verify_result'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_connect_step2: error: undefined reference to 'X509_verify_cert_error_string'
  ../../../../libs/x86/libcurl.a(libcurl_la-openssl.o):openssl.c:function ossl_connect_step2: error: undefined reference to 'SSL_get0_alpn_selected'
...
...

Looks like cURL is looking for different version of openssl?

Can you elaborate on how do you mean using openssl api-16 while curl at api-21?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant