cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compile libcurl with static zlib and static openssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Dec 2014 00:46:07 +0100 (CET)

On Mon, 8 Dec 2014, teach me wrote:

> This is the configure line I tried
> $ cd ~/curl-7.39.0
> $ ./configure --disable-shared --with-zlib=$HOME/zlib-1.2.8
> --with-ssl=$HOME/openssl-1.0.1j

The clues are in config.log so check that for when the tests fail.

openssl requires -ldl to work statically so LIBS="-ldl" ./configure ... is at
least one thing you need. Possibly it is the only thing missing.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-08