curl-library
Re: static link: how to eliminate some undefined symbols?
Date: Mon, 22 Feb 2016 21:20:08 -0500
On 2/22/2016 8:50 PM, Stephen Greenfield wrote:
> Undefined symbols for architecture x86_64:
> "_tld_strerror", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_idna_to_unicode_lzlz", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_tld_check_lz", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_stringprep_locale_charset", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_idn_free", referenced from:
> _Curl_disconnect in myStatic_libcurl.a(libcurl_la-url.o)
> _create_conn in myStatic_libcurl.a(libcurl_la-url.o)
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_stringprep_check_version", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_idna_to_ascii_lz", referenced from:
> _fix_hostname in myStatic_libcurl.a(libcurl_la-url.o)
> "_idna_strerror", referenced from:
> _Curl_idn_strerror in myStatic_libcurl.a(libcurl_la-strerror.o)
> ld: symbol(s) not found for architecture x86_64
>
That's libidn do --without-libidn if you don't want it.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-23