curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building libcurl with openssl support.

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 1 Sep 2017 18:34:53 -0400

On 8/30/2017 7:26 AM, ajay giri via curl-library wrote:
> I am trying to build libcurl with openssl support. I want to diable
> default winssl support and use openssl for windows. I have installed
> openssl in the following folder. ( C:\openssldev )
> I am using VS command prompt to build libcurl. Libcurl version used is
> 7.54.0
>
> This is command I used to build.
>
> nmake /f Makefile.vc mode=dll VC=9 WITH_DEVEL=C:/openssldev
> WITH_SSL=DLL ENABLE_WINSSL=no
>
> Build is successful. In build directory i find the DLL and libs built. 
>
> When I check dependency on libcurl.dll there is no dependency on
> openssl libs. So if i try this libs and try to connect to any https
> UTL it says protocol not supported.
>
> With dependency check it is clear that it is not built with openssl
> support.

It has to be lowercase, WITH_SSL=dll. Also, in Visual Studio 2008 IIRC
there's no IDN library so you'll probably have to add ENABLE_IDN=no.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-02