From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky 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, 14 Aug 2018 21:05:16 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1534295034 13739 195.159.176.226 (15 Aug 2018 01:03:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2018 01:03:54 +0000 (UTC) Cc: emacs To: Tim Visher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 03:03:50 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 1fpkDy-0003Q1-HG for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 03:03:46 +0200 Original-Received: from localhost ([::1]:46793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpkG4-0008I1-J3 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2018 21:05:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpkFW-0008GV-BY for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 21:05:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpkFV-0004FI-7Q for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 21:05:22 -0400 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:43689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpkFU-00045V-Qc for help-gnu-emacs@gnu.org; Tue, 14 Aug 2018 21:05:21 -0400 Original-Received: by mail-oi0-x22c.google.com with SMTP id b15-v6so37044982oib.10 for ; Tue, 14 Aug 2018 18:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xKkLaFCjnWXeLZ6h6avR6Y4BUpbuMUQ8XaTelyIA0tA=; b=sTt8LRLJ+c61kn9yPk5B33hOVApHzgiRGWwTwtz5kqcnCZfWDeB9KeDCHQICGHJgCI BS081IoFbpn4Bralwuu9IbUUf8scp6zbWkh9so0enD+yuog8IcDBOiihMOY9u28VXmj8 pNFhrkhEgR6oUP9BWI7rybi4XCdfXyolzhvb+qSRl/4tYu+KgduaWvCEu0cpx1x0MBVP i617Pz7cMGA579Pj2iMi8fyWzGYtpuqreiPYcn6XS7yY3Zqbb7Ztv8yTKL+JsVByD0Pz EVDh9ThuNqodwek3yrjQsU+9rxV7p/WLuntMLSX/46MQkSHkRNVLfYylmg1ZSq5MM9Bx Y0NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xKkLaFCjnWXeLZ6h6avR6Y4BUpbuMUQ8XaTelyIA0tA=; b=HHswR44/OnvRbVbdleAOLmb7o+VewzTPr3URUR3tFOBUbqOzgpDjNd12TgYuaMF9Zs bDTSI+pYiFhrpgsRHPhwaC9BWVfEoYqaSswPiWJtIgDBkoNrS0JchXPgJnHHFu5gdIZi pSwkrAn7DJ03XuHiLUsjJD7ZD2RdIsAKuKPc7aAc7/CM1F2gmX0JdymghyKBYLU6Dnne MDjnTNMKKzy6OrVqFeB0gAtIbw5x5f7Bn7j4cIDzdvVI55cR3heC394o1kn4jb82ayHd gclywyFH76Bh6ZCeYLW90pa2aOlDETOih17Y8e9EGFIJDueCrSuENW4/kmviMOVY0Mt9 e0Cw== X-Gm-Message-State: AOUpUlFv2rUuwKl1An/eyIBb7cIKsQMi+eypes8Yh6lrHlWBV+RHlxm6 KGA0a7mF6xAcgveFKHrNwecyRWwtE5dn13WSI2E= X-Google-Smtp-Source: AA+uWPw6R6uSBwpm55/40sdGb+xz2d95aF8EJAvOgWuNs8uQn4a8MoAlIzznDMZpxWFgptuNYIVdRI5fEOU2OAEp+fE= X-Received: by 2002:aca:a993:: with SMTP id s141-v6mr26114580oie.72.1534295116986; Tue, 14 Aug 2018 18:05:16 -0700 (PDT) Original-Received: by 2002:a9d:268d:0:0:0:0:0 with HTTP; Tue, 14 Aug 2018 18:05:16 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22c 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:117658 Archived-At: On 14 August 2018 at 20:44, Tim Visher 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).