|
From: | Noam Postavsky |
Subject: | Re: Building emacs using the `spksrc` toolchain results in `./temacs: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory` |
Date: | Tue, 14 Aug 2018 21:05:16 -0400 |
On 14 August 2018 at 20:44, Tim Visher <tim.visher@gmail.com> wrote: > I'm attempting to provide an emacs package for Synology NASes using the > `spksrc` toolchain (PR: https://github.com/SynoCommunity/spksrc/pull/3352). This is described as a "Cross compilation framework", I'm not sure if this will work (see Bug#9192) https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9192 > The build fails with the following error message: > > ``` > ./temacs --batch --load loadup bootstrap > ./temacs: error while loading shared libraries: libncurses.so.6: cannot > open shared object file: No such file or directory > Notably LDFLAGS appears to contain a directory which contains > libncurses.so.6 > > ``` > vagrant@debian-8:~/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1$ ls -l > /home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/install//var/packages/emacs/target/lib/libncurses.so.6.1 Does your libncurses only operate on the target? Because the Emacs build system needs to run Emacs on your build machine (hence the difficulty with cross-compilation).
[Prev in Thread] | Current Thread | [Next in Thread] |