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

From: Jeffrey Walton <[email-masked]>
Date: Sat, 1 Aug 2020 11:15:28 -0400

On Sat, Aug 1, 2020 at 11:14 AM Jeffrey Walton <[email-masked]> wrote:
>
> 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.

This may help:

$ ldd emacs-27.1/src/emacs
    linux-vdso.so.1 (0x00007fff009cd000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc75f0fc000)
    libxml2.so.2 => /home/jwalton/tmp/ok2delete/lib/libxml2.so.2
(0x00007fc75eda0000)
    libtinfo.so.6 => /home/jwalton/tmp/ok2delete/lib/libtinfo.so.6
(0x00007fc75eb68000)
    libanl.so.1 => /lib/x86_64-linux-gnu/libanl.so.1 (0x00007fc75e964000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc75e5c6000)
    libz.so.1 => /home/jwalton/tmp/ok2delete/lib/libz.so.1 (0x00007fc75e3af000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc75e1ab000)
    libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0
(0x00007fc75df27000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fc75dd08000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc75d917000)
    libiconv.so.2 =>
/home/jwalton/tmp/ok2delete/lib/../lib/libiconv.so.2
(0x00007fc75d62f000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fc75fab1000)
    liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fc75d409000)
    liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fc75d1ed000)
    libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20
(0x00007fc75ced1000)
    libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
(0x00007fc75ccbc000)