From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: runpath validation Date: Tue, 25 Apr 2017 10:49:07 +0200 Message-ID: <87d1c0swho.fsf@elephly.net> References: <87fuh35wjd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2w9x-0007SY-1z for help-guix@gnu.org; Tue, 25 Apr 2017 04:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2w9w-0005KK-3y for help-guix@gnu.org; Tue, 25 Apr 2017 04:49:21 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix Catonano writes: > 2017-04-20 10:10 GMT+02:00 Ludovic Courtès : > >> >> You should grep for RUNPATH, and I guess that will show that >> /gnu/store/zv2c9mbs4q7f75p9xlgxs62fb5wmp3ac-granite-0.4.0.1/lib is *not* >> in there, even though it should (if it’s not in RUNPATH, then launching >> ‘granite-demo’ will result in a “library not found” error, which is what >> this validation phase wants to avoid.) >> > > and instead what I found is that ...granite/lib *is* there Cmake is a bit weird sometimes. Look at the definition for “bamtools” to see how you may be able to explicitly add the lib directory to the RUNPATH. Other examples are “powertabeditor” and “lmms” in music.scm. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net