From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help 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 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1534853561 31770 195.159.176.226 (21 Aug 2018 12:12:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2018 12:12:41 +0000 (UTC) Cc: emacs To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 21 14:12:37 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fs5WS-00083S-R7 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Aug 2018 14:12:32 +0200 Original-Received: from localhost ([::1]:52725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fs5YZ-0007D7-1Z for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Aug 2018 08:14:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fs5Xa-0007Aq-JW for help-gnu-emacs@gnu.org; Tue, 21 Aug 2018 08:13:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fs5Ty-0002xj-TK for help-gnu-emacs@gnu.org; Tue, 21 Aug 2018 08:09:59 -0400 Original-Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]:32820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fs5Ty-0002xI-NW for help-gnu-emacs@gnu.org; Tue, 21 Aug 2018 08:09:58 -0400 Original-Received: by mail-ua1-x936.google.com with SMTP id i4-v6so11667350uak.0 for ; Tue, 21 Aug 2018 05:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D7WYu/HoTlduah4JlnwQ+jsPU+wPzNA1HwQfAROwoNs=; b=PqFhPGnQjDEclGm22qgTJzM3mkDMs0p9MnVyz40Ht3u5duZhF0REkLWiJq+SHa+kKu 4lCKy+f+IYUOaAKIEgXYyTUbM+SDQQLQHtJ7mtaEIzeNmlj0RbwHb7aaKTZJsAo0ZqVA rXbi7SV4tubANEPDykirCRatbSSUBcjv5bpk79IfdbeMidJys8m+Or7t2yOp/ZE+qA/+ 34bvKPj69CC15EzOsVL9DEIwcwpZFK9PRasGZeGLB1bviStBLiGtHMe0B0KPbpNyn0NS pDRYSiPCor87PXfvOlW4AqEnyV6vmm7YpFcUbPOY9F0PGdMGijcTXldEf7us3U92ebNk S+FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D7WYu/HoTlduah4JlnwQ+jsPU+wPzNA1HwQfAROwoNs=; b=JWVfljv7L1EWoUET1UvT6ZgT7lMys3j7XLd0ZVPpt4AjcQEgG2xli2Gb1cPmyEtB04 pP13xSzAAzLtJeKfP2MiTxkecd8OZ/43URWHYH8VovCAuh9NUHSWm9dGGX0InAsamJke NbC8pmfPOliZ0KbieZ4XSx4R1TFDikyZYnHh/ZtkDV8A8AmU2szmhETzFxp1wAhS+3qw zprXUjlrr/lrCSg3FlLqrMdtCvhgDJLXIlZUubZin8vitWOBO4gH3sx9wkbrUD+6yRZv rKG+dUj0Qr7+2a+agu/CKQiuvnVudfcJBXE/efRde+OSGfWbpi3LXD7qNBrhjcTruPbp 6hcw== X-Gm-Message-State: AOUpUlFBLXLxif0w3dPTk1k45Dw6+U9Xdhzd9Itr91y/ReLWYAAYcrpZ Hc5eDnK9leZiv8zUHhSMGnkb2NxrpztnrEnZEL4= X-Google-Smtp-Source: AA+uWPxZoivxNfZxChrpY8PvmZVyuFNT060pH31oPRQpk62/4OqfP83uiL9owdaVtGViwnRDO8pkLb4etLtgdmowA/I= X-Received: by 2002:ab0:7055:: with SMTP id v21-v6mr32909823ual.44.1534853397710; Tue, 21 Aug 2018 05:09:57 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::936 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117704 Archived-At: On Wed, Aug 15, 2018 at 9:53 AM Noam Postavsky wrote: > On 15 August 2018 at 08:46, Tim Visher 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=3D../../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-li= sp /home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/progmode= s /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/internat= ional /home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/textmode= s /home/vagrant/spksrc/spk/emacs/work-apollolake-6.1/emacs-26.1/lisp/vc) Loading emacs-lisp/byte-run... =E2=80=A6 Finding pointers to doc strings...done Dumping under the name emacs 87479 pure bytes used ```