[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: openssl static compile issue
From: |
Peter Bex |
Subject: |
Re: openssl static compile issue |
Date: |
Tue, 12 May 2020 21:38:44 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, May 12, 2020 at 03:07:34PM -0400, address@hidden wrote:
> csc -static filename.scm -L -lssl -L -lcrypto
>
> which removes all errors and allows the code to compile. However, when ran
> the compiled code generates the following http-client egg error:
>
> "Unable to connect over HTTPS. To fix this, install the openssl egg and try
> again."
>
> Can anyone advise on how to properly compile a statically linked binary
> using the openssl egg?
I think this is due to the fact that http-client will dynamically
try to import the openssl library. This happens through eval, which
means you must also explicitly link in openssl's import library, at
least I *think* that's what's happening here.
Please give that a try.
Cheers,
Peter
signature.asc
Description: PGP signature