Subject: Re: bug#42651: emacs-27.1-rc1 and wrong GnuPG libraries

From: Eli Zaretskii <[email-masked]>
Date: Sat, 01 Aug 2020 18:17:13 +0300

> From: Jeffrey Walton <[email-masked]>
> Date: Sat, 1 Aug 2020 11:14:25 -0400
> Cc: [email-masked]
> 
> On Sat, Aug 1, 2020 at 11:11 AM Eli Zaretskii <[email-masked]> wrote:
> >
> > > From: Jeffrey Walton <[email-masked]>
> > > Date: Sat, 1 Aug 2020 11:05:00 -0400
> > > Cc: [email-masked]
> > >
> > > On Sat, Aug 1, 2020 at 11:04 AM Eli Zaretskii <[email-masked]> wrote:
> > > >
> > > > > From: Jeffrey Walton <[email-masked]>
> > > > > Date: Sat, 1 Aug 2020 10:51:54 -0400
> > > > >
> > > > > I was looking at the ldd dependencies of emacs-27.1-rc1. It shows a
> > > > > dependency on GnuPG warez:
> > > >
> > > > Why is that a problem?
> > >
> > > The wrong library.
> >
> > Which one?
> 
> Both libgcrypt.so and libgpg-error.so.

So you would like your own libraries linked into Emacs, is that the
issue here?  If so, I think you need to set up your build to look
there, by setting LDFLAGS at configure time.  Would that solve the
problem?