curl-library
Re: How to build libcurl
From: Kamil Dudka <kdudka_at_redhat.com>
Date: Thu, 20 Aug 2009 15:18:06 +0200
Date: Thu, 20 Aug 2009 15:18:06 +0200
On Thu August 20 2009 15:00:18 Krishna Chaithanya Muthyala wrote:
> Hi,
>
> What if I don't want to use the libcurl.so directly? I just download the
> source-code and build myself to generate the .so. And my linux environment
> already has libcurl installed.
>
> Now, I don't want to use the already installed libcurl. Instead I want to
> use the libcurl which I built myself. How to build my application which
> uses libcurl then?
>
> If -lcurl is given, I think gcc will take it from the installed libcurl in
> the system.
I think you want to play with LD_* environment variables on Linux:
http://unixhelp.ed.ac.uk/CGI/man-cgi?ld.so+8
Kamil
Received on 2009-08-20