cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: warning when static build curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Jul 2011 00:45:32 +0200 (CEST)

On Sun, 17 Jul 2011, »ÆÐÄâù wrote:

> I want to build libcurl completely static, that means do not need any other
> lib like ssl or zlib when using libcurl.a.

...

> curl_addrinfo.c:(.text+0x2de): warning: Using 'getaddrinfo' in statically
> linked applications requires at runtime the shared libraries from the glibc
> version used for linking

...

> I also tried to remove all libssl.so and libcrypto.so from my system, and
> change LD from "/usr/bin/ld" to "/usr/bin/ld -static" in
> curl-7.21.3/Makefile. which leads to the same result.

Sorry, but which same result are you talking about? I'm not following.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-19