curl / Mailing Lists / curl-library / Single Mail


Re: Is there a way to statically link only nghttp2 but not others (openssl)

From: Rainer Canavan <>
Date: Thu, 4 Jan 2018 15:57:05 +0100

On Tue, Jan 2, 2018 at 12:43 PM, Sunil Sayyaparaju via curl-library
<> wrote:
> I need both nghttp2 and openssl for my
> work. I am able to statically compile libcurl with nghttp on other
> platforms (ubuntu/debian).

Is it actually necessary to statically link those libraries, or can
you ship dynamic versions
of them with your binary and set the LD_RUN_PATH, e.g. via
accordingly? Obviously, this requires that your libraries can only be
installed in
a limited number of possible locations.

Received on 2018-01-04