cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Cannot Create Truly Static Program With cURL

From: <brandonshw_at_aol.com>
Date: Thu, 7 Jul 2011 15:12:22 -0400 (EDT)

The make for my own program, which uses the libcurl.a that I produce, complains about libraries that I have on my machine, as though the libcurl.a wasn't produced statically. Is there any switch one can put on the make command when creating libcurl.a from source to make it absolutely self-sufficient?

-----Original Message-----
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-users <curl-users_at_cool.haxx.se>
Sent: Thu, Jul 7, 2011 11:10 am
Subject: Re: Cannot Create Truly Static Program With cURL

On Thu, Jul 07, 2011 at 10:53:54AM -0400, brandonshw_at_aol.com wrote:
 I entered "curl-config --static-libs" at the Linux command line, but it says
 that it is not an available option.
Then you need to upgrade your libcurl, because that's been an option for
our years. If you're building libcurl from source, then don't forget to
pecify the correct path to the appropriate curl-config. By default,
make install" will put it at /usr/local/bin/curl-config.
>>> Dan
------------------------------------------------------------------
ist admin: http://cool.haxx.se/list/listinfo/curl-users
AQ: http://curl.haxx.se/docs/faq.html
tiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-07