curl-library
static linked curl library has undefined symbols
Date: Sat, 4 Nov 2017 18:07:21 +0800
i'm compiling a static curl library.
env PKG_CONFIG_PATH=/usr/lib/ssl/pkgconfig ./configure --with-ssl && make
it successfully compiled the curl library.
but I find that there's lots of undefined symbols.
nm -Cu libcurl.a |grep ssl -i
U Curl_ssl_connect
U Curl_ssl_connect_nonblocking
U Curl_ssl_close
U Curl_ssl_connect
U Curl_ssl_shutdown
U Curl_clone_ssl_config
U Curl_free_ssl_config
U Curl_ssl_close
U Curl_ssl_close_all
U Curl_ssl_config_matches
U Curl_ssl_free_certinfo
U Curl_ssl_set_engine
U Curl_ssl_set_engine_default
libcurl_la-ssluse.o:
......
how can i solve this problem?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-04