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: Wed, 15 Aug 2018 08:46:42 -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 1534337166 3913 195.159.176.226 (15 Aug 2018 12:46:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2018 12:46:06 +0000 (UTC) Cc: emacs To: npostavs@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 14:46:02 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 1fpvBZ-0000t7-AU for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 14:46:01 +0200 Original-Received: from localhost ([::1]:49436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpvDf-00077J-JF for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 08:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpvCr-00077D-5Q for help-gnu-emacs@gnu.org; Wed, 15 Aug 2018 08:47:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpvCp-00017o-Su for help-gnu-emacs@gnu.org; Wed, 15 Aug 2018 08:47:21 -0400 Original-Received: from mail-ua1-x92a.google.com ([2607:f8b0:4864:20::92a]:40809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpvCp-000170-F5 for help-gnu-emacs@gnu.org; Wed, 15 Aug 2018 08:47:19 -0400 Original-Received: by mail-ua1-x92a.google.com with SMTP id m13-v6so1057037uaq.7 for ; Wed, 15 Aug 2018 05:47:19 -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=sh2LCmF7atEDdDrNEViBha834Vh+HCOTviHBvuW5MdA=; b=cZq3NxYf6l+l/51u5VxoqB8sY5lUVaqid5e3gM95ymQafrF2GK8cO9tHVGp7IUfjx8 MlPCpXV/p+8oNbpe2OsdTrUIZn2Nqc479Yo4NqDjPS9meS3ift2YO5fNflrsR8hWFT2S dxSAbbuQR/ixyHUKLyc+bDdPH0/J018yAyOSRyTbKlj4wFcRJtjoLD4JgWUdShDF3MW3 PxybhJlhcABIAekvu32e3wxaubnVzQ21ppEyiMijJhDW64AL7IeCTrEbUqupJtOfft7a a3GPmGeJp/hIKokuFjUgmpvPgFGKdskizBIryajgyNnrwd/+oSqX/nZAM9NNNKxHhOXA MXTA== 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=sh2LCmF7atEDdDrNEViBha834Vh+HCOTviHBvuW5MdA=; b=QOR8gKC5SUPfX4sXn+H6g8/t6lniP5iD0DQczDpoYZKxIOLqncWguCEPBrzsRyRLPa /NKIZ99dyQtAv5w1CCEhvXj/pj3saMSlgilokYA6yHwlljWtSIUyKO+HRCCpn8q6/L9R AKcNLCJQNCaNoXErhVmxBJCfCwRzXZUrOe8au6+xCNw17zrC0Ebw/g9319dvLNaxoml0 cd3dB9W6ZLMp0yoXhEPpDSJN9LltPCVFiQc7gcctVmyo7FjChmb1kD9iA5QExAHgclud 0kpkLURag8aZiM02LZRMZS0TWLTy8+eZE/ic7kkYhIAUVYpMZ9J7k508I2kleZKUnAPE FF9A== X-Gm-Message-State: AOUpUlHTjX7ueJKJ/erjvBcN9E1RJz18Hxucins721FtC9jbpZTTGjzm TEy1clp70v+g0kA9GOeI2xqepOlS8ZhBtsUY/Ng= X-Google-Smtp-Source: AA+uWPxC7t7zv0nBf1VDv2v6SkN3eicHRsKIRbSbV/8yhP3VkO4W4ue7fW0KU6df96RMmlF3oVkxibv1Kr2DorLv8fg= X-Received: by 2002:a9f:3b69:: with SMTP id j41-v6mr16669166uah.37.1534337238839; Wed, 15 Aug 2018 05:47:18 -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::92a 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:117659 Archived-At: Thanks for your response, Noam. On Tue, Aug 14, 2018 at 9:05 PM Noam Postavsky wrote: > 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 I've pointed the maintainers of spksrc to that page to see if they have any insight related to their framework specifically. > > 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). > "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?