Re: Linking of libdar64

John Goerzen <[email protected]> Fri, 14 Jul 2023 06:50:15 -0500
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
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.

> I just don't understand why it does not work in your case:

Here is my /usr/lib/x86_64-linux-gnu/pkgconfig/gpgme.pc .  Is yours
different, particularly the Libs line?

prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${prefix}/lib/x86_64-linux-gnu
host=x86_64-pc-linux-gnu
api_version=1

Name: gpgme
Description: GnuPG Made Easy to access GnuPG
Requires.private: gpg-error, libassuan
Version: 1.18.0
Cflags: -I${includedir}
Libs: -L${libdir} -lgpgme
URL: https://www.gnupg.org/software/gpgme/index.html

- John