Subject: bug#49864: 28.0.50; Fails to start after "make install"

From: Wilhelm Kirschbaum <[email-masked]>
Date: Thu, 5 Aug 2021 08:42:55 +0200

>From a clean environment and emacs install the window and emacs.pdmp files
are at the following locations

/home/wilhelm/src/tools/emacs/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln
/usr/local/lib/emacs/28.0.50/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln

/home/wilhelm/src/tools/emacs/src/emacs.pdmp
/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp

evaluating the relative pathing, it ends up at
/usr/local/native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln

the same install process worked about 2 months ago, so I can possibly try
to find the commit where it still worked

On Wed, Aug 4, 2021 at 1:56 PM Eli Zaretskii <[email-masked]> wrote:

> > From: Wilhelm Kirschbaum <[email-masked]>
> > Date: Wed, 4 Aug 2021 07:42:06 +0200
> >
> > ./autogen.sh
> > ./configure --with-mailutils --with-native-compilation
> > sudo make install
> > src/emacs -Q -> works as expected
> > emacs -Q ->
> > Error using execdir
> /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/:
> > emacs:
> >
> /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../native-lisp/28.0.50-864bf4e5/preloaded/window-0d1b8b93-dcb2375f.eln:
> > cannot open shared object file: No such file or directory
>
> Could it be that the emacs.pdmp file is installed in the wrong place,
> and that confuses Emacs at startup?  The emacs.pdmp file should be in
> /usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/
>
> And where do you have the file window-0d1b8b93-dcb2375f.eln there? on
> your system? can you show the full absolute file names of all of its
> copies you have?
>