- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using iOS client to connect a SSL server.
I replace labsclient.a with labsclient_tls.a but get some error while compiling the code.
Undefined symbols for architecture arm64:
"_SSLv2_method", referenced from:
boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in libsioclient_tls.a(sio_client_impl.o)
"_SSLv2_client_method", referenced from:
boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in libsioclient_tls.a(sio_client_impl.o)
"_SSLv2_server_method", referenced from:
boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in libsioclient_tls.a(sio_client_impl.o)
"_CONF_modules_unload", referenced from:
boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in libsioclient_tls.a(sio_client.o)
"_ENGINE_cleanup", referenced from:
boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in libsioclient_tls.a(sio_client.o)
"_OPENSSL_add_all_algorithms_noconf", referenced from:
boost::asio::ssl::detail::openssl_init_base::do_init::do_init() in libsioclient_tls.a(sio_client.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there anything I miss to set or include?
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chaoyu,
Would you please double check the build path settings, and make sure "Header Search Paths" and "Library Search Paths" include our released libsclient_tls.a?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Chunbo
Thanks for your aid.
I check my setting and still don't have any idea about those errors
1.files in $(PROJECT_DIR)/libs
libsioclient.a
libsioclient_tls.a
libwoogeen.a
2.here is my setting
Header Search Paths:$(PROJECT_DIR)/libs
Library Search Paths : $(PROJECT_DIR)/libs
User Header Search Paths:$(PROJECT_DIR)/include
3.Link Binary With Libraries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chaoyu,
It seems something (picture?) is missing from your last reply with ".Link Binary With Libraries"?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, please let us know your iOS version and the version of our app you used.
Thanks!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page