[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building emacs using the `spksrc` toolchain results in `./temacs: er
From: |
Tim Visher |
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, 21 Aug 2018 08:09:21 -0400 |
On Wed, Aug 15, 2018 at 9:53 AM Noam Postavsky <npostavs@gmail.com> wrote:
> On 15 August 2018 at 08:46, Tim Visher <tim.visher@gmail.com> wrote:
>
> > "Does your libncurses only operate on the target?" I'm unsure what to
> even
> > Google for to answer this question intelligently. Can you give me some
> > pointers?
>
> If you can, then it might just be a matter of putting the spksrc
> libncurses directory in LD_LIBRARY_PATH (LDFLAGS only tells the linker
> where to look, it doesn't affect the runtime).
>
Success! (At least as far as the temacs step error is concerned. :) )
```
vagrant@debian-8:~/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/src$
LD_LIBRARY_PATH=../../install/var/packages/emacs/target/lib/ ./temacs
--batch --load loadup
bootstrap
Loading loadup.el (source)...
Using load-path
(/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/emacs-lisp
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/progmodes
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/language
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/international
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/textmodes
/home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/vc)
Loading emacs-lisp/byte-run...
…
Finding pointers to doc strings...done
Dumping under the name emacs
87479 pure bytes used
```