curl-library
Re: Static linking of libcurl to openssl
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 30 Sep 2008 12:01:55 -0700
Date: Tue, 30 Sep 2008 12:01:55 -0700
On Tue, Sep 30, 2008 at 02:49:23PM -0400, Glenn MacGregor wrote:
> I am trying to debug and test some threaded ssl curl applications, but I need
> to link to a different version of openssl than the installed version. I figure
> the easiest way is to link libcurl statically with the openssl libs (libssl and
> libcrypto). I have found no easy way to do this since the installed openssl
> resides in /lib it always seem to link that .so.
This question has come up a couple of times here in the last couple of months.
The short answer: you can easily link against another OpenSSL dynamic lib,
but linking against OpenSSL statically isn't as easy. Search the archives
and read the INSTALL file for the long answer.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-09-30