Re: Linking of libdar64

Denis Corbin <[email protected]> Sun, 16 Jul 2023 20:24:32 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>

On 14/07/2023 13:50, John Goerzen wrote:
> On Thu, Jul 13 2023, Denis Corbin wrote:
> 
>> the -lassuan is added to the list of dependent libraries. The generated Makefile
>> by the ./configure scripts has this variable
>> # grep GPGME_LIBS Makefile
>> GPGME_LIBS = -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error
> 
> Thanks - this gives me a place to make the patch.
> 

Well, seen the recent changes regarding about the missing reference to 
library in the DT_NEEDED section of the ELF libdar binary, you should 
now rather use the LIBS variable:

# egrep "^LIBS\s" Makefile
LIBS = -largon2  -lthreadar -lpthread -L/usr/lib/x86_64-linux-gnu 
-lgpgme -lcurl  -lrsync -lgcrypt -lgpg-error -llz4 -lzstd -llzma -llzo2 
-lbz2 -lz -ldl
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed