Alex ter Weele <alex.ter.we...@gmail.com> skribis:

> I used gdb on the failing emacs:
>
>     (gdb) bt
>     #0  0x00007ffff7df4a1c in ?? () from 
> /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/ld-linux-x86-64.so.2
>     #1  0x00007fffefecbfbb in dlopen_doit () from 
> /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #2  0x00007ffff01f7901 in _dl_catch_error () from 
> /gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>     #3  0x00007fffefecc599 in _dlerror_run () from 
> /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2
>     #4  0x00007fffefecc021 in dlopen@@GLIBC_2.2.5 () from 
> /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2

Wait, we missed an important bit: there are two different libcs here.

What does this say:

  ldd $(dirname $(readlink -f $(type -P emacs)))/.emacs-25.3-real | grep glibc

Is LD_LIBRARY_PATH or LD_PRELOAD set?

Does the beginning of “LD_DEBUG=files emacs” give hints as to why the
second libc gets picked up?

Thanks,
Ludo’.

Reply via email to