|
From: | GNU bug Tracking System |
Subject: | bug#55741: closed (Getting an error when running the Emacs 28.1 binary that I built from source) |
Date: | Mon, 20 Jun 2022 16:07:01 +0000 |
Your message dated Mon, 20 Jun 2022 19:05:49 +0300 with message-id <83r13jl3qa.fsf@gnu.org> and subject line Re: bug#55741: Getting an error when running the Emacs 28.1 binary that I built from source has caused the debbugs.gnu.org bug report #55741, regarding Getting an error when running the Emacs 28.1 binary that I built from source to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 55741: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55741 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: Getting an error when running the Emacs 28.1 binary that I built from source Date: Tue, 31 May 2022 13:01:06 +0000 OS: Debian 11 (Fresh Install)
ARCH: amd64
When building Emacs 27.2 from source, I use the following config:
```bash
./autogen.sh ./configure --prefix=/home/user/emacs --bindir=/home/user/bin \ --with-json --with-gif --with-jpeg --with-png --with-tiff --with-rsvg
```
It builds without an issue and the binaries end up in my PATH and I can run Emacs.
When building Emacs 28.1 on the same system, I use the same config but with the addition of the `
--with-native-compilation`
flag:
```bash
./autogen.sh ./configure --prefix=/home/user/emacs --bindir=/home/user/bin \ --with-native-compilation \ --with-json --with-gif --with-jpeg --with-png --with-tiff --with-rsvg
```
The build goes without a hitch and the binaries end up in my PATH. However when I try to run the Emacs binary, I get the following error:
`Error using execdir /home/user/emacs/libexec/emacs/28.1/x86_64-pc-linux-gnu/../../../../bin/:
emacs: /home/user/emacs/libexec/emacs/28.1/x86_64-pc-linux-gnu/../../../../bin/../native-lisp/28.1-2120ad00/preloaded/window-0d1b8b93-7ef4271a.eln: cannot open shared object file: No such file or directory`
I should also note that, if I try to run the built binary within the `
src`
folder, Emacs starts without an issue. Only the binary that's on my PATH seems to have this error.
I have found a very similar problem on the emacs-devel mailing list:
However, the person is trying to create a
deb
package so the recommendations there didn't help me.
Both source files are tarballs from the GNU FTP server and my system is Debian stable. Cleaning up build configs and trying fresh builds has not helped.
--- End Message ---
--- Begin Message ---Subject: Re: bug#55741: Getting an error when running the Emacs 28.1 binary that I built from source Date: Mon, 20 Jun 2022 19:05:49 +0300 > Cc: 55741@debbugs.gnu.org > Date: Sat, 11 Jun 2022 13:54:01 +0300 > From: Eli Zaretskii <eliz@gnu.org> > > Ping! > > Could you please try the fix I posted? I'd like to install it for > Emacs 28.2. No further comments, so I installed the fix on the emacs-28 branch, and I'm closing the bug.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |