cURL / Mailing Lists / curl-library / Single Mail


Re: warning when static build curl

From: Daniel Stenberg <>
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 and 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.


List admin:
Received on 2011-07-19