curl / Mailing Lists / curl-users / Single Mail

curl-users

RE: static cURL

From: Bill Mercer <bmercer_at_nccer.org>
Date: Wed, 18 Oct 2017 15:17:50 +0000

Well THAT escalated quickly...

From: curl-users [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of angel Hall-Coulston via curl-users
Sent: Tuesday, October 10, 2017 3:53 AM
To: Laura Martín via curl-users <curl-users_at_cool.haxx.se>
Cc: angel Hall-Coulston <rammsteinium_at_me.com>
Subject: Re: static cURL

This is an automated reply… Your email went straight to spam box…………

Sorry your message did not pass the first Spam Mail filter, ie you are not listed in my contacts!
To be included in my contacts you have to first be a nice person:

1.Not be trying to scam me for money!
2.Not trying to sell me what I don’t need!
3.Not be trying to get me to work for free!
4.Not be trying to send insulting emails because the above didn’t fool me and I called you out!
5.Not be wasting my day! (Also refer to number 3).



Good day :-) I hope THIS reply wasted a little more of YOUR time than YOUR spam wasted of mine!!

On 9 Oct 2017, at 23:18, Laura Martín via curl-users <curl-users_at_cool.haxx.se<mailto:curl-users_at_cool.haxx.se>> wrote:
Good evening,

I'm trying to compile a completely static curl binary but I get glibc and others shared:

ldd /opt/curl_Static/bin/curl
    linux-vdso.so.1 (0x00007ffc0a5cf000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f60ff491000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f60ff0f8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f60ff695000)


My config stanza:

CPPFLAGS="-I/usr/include" CFLAGS="-static" LDFLAGS="-L/lib64 -static" LIBS="-ldl -lssl -lcrypto" ./configure --prefix=/opt/curl_Static --disable-shared --enable-static --disable-threaded-resolver --with-ssl=/opt/openssl_Static/ --with-tls --with-zlib=/opt/zlib_Static/

I need a completely static curl, because the final servers are very old and don't have modern versions of glibc and openssl.

Is it possible or have I to compile statically all the environment (gcc, glibc...)

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

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-18