cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: VERIFYPEER, -k, --insecure, etc.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 17 Sep 2008 11:24:41 -0700

On Wed, Sep 17, 2008 at 01:11:44PM -0500, Ryan Graciano wrote:
> Thanks for your help Dan. This has been a difficult issue to run down.
>
> I'm able to compile OpenSSL, but I can't replace the version I already
> have. It should be fine for them to coexist just for testing, though.
> Is there any easy way for me to tell cURL to use the new version?
> Our cURL seems to be compiled to look for libssl.so. Do I need to
> compile a new cURL that uses the static lib instead, or is there some
> environment variable or something like that I can use to redirect it
> to the correct libs?

The patch I supplied was for curl, BTW, not OpenSSL. There's a section
in the INSTALL document on compiling with OpenSSL. Briefly, set
PKG_CONFIG_PATH appropriately, use "--with-ssl" on the configure command
line, and make sure pkg-config is present. Linking statically with
OpenSSL isn't supported by default. You can just link dynamically and
then set LD_LIBRARY_PATH to the new OpenSSL libraries.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-09-17