Re: Statically building when curl is present

Denis Corbin <[email protected]> Wed, 21 Jun 2023 19:45:43 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 21/06/2023 03:03, John Goerzen wrote:
> I should add - I get a warning about missing gpgme in this scenario.  I
> see you disabled it in your dar_static build, presumably for the same
> reason?  I guess gpgme must use dlopen() or something.

yes, gpgme is a library that invokes gpg as an separated process (for 
security reason, they decided to avoid linking the library for client 
applications to the core encryption library). This even if you code is 
statically linked with gpgme, it will need the gpg binary for 
encryption/decryption to work

> 
> I have chosen to document this for the moment; the warning is harmless.
> But I could also disable gpgme linking as you did in yours.
> 
> - John
>
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed