If you're on Windows, you have to compile your application/bindings
with "-DCURL_STATICLIB" for it to statically link against libcurl.


On Sat, Nov 4, 2017 at 11:07 AM, 开心 via curl-library
<[email protected]> wrote:
> 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

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to