From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Phase `validate-runpath' fails: lib not in RUNPATH Date: Sun, 6 Nov 2016 20:52:20 +0100 Message-ID: References: <10612b67-4c72-1178-46a8-3a79572f3cde@crazy-compilers.com> <87twbk8l2j.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3TUR-0002dW-Ti for guix-devel@gnu.org; Sun, 06 Nov 2016 14:52:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3TUO-0005am-Si for guix-devel@gnu.org; Sun, 06 Nov 2016 14:52:27 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:46677) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3TUO-0005Zd-LR for guix-devel@gnu.org; Sun, 06 Nov 2016 14:52:24 -0500 In-Reply-To: <87twbk8l2j.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix-devel Am 06.11.2016 um 20:28 schrieb Ricardo Wurmus: > Hartmut Goebel writes: > >> /gnu/store/=E2=80=A6-thunderbird-45.4.0/lib/firefox-45.4.1/browser= /components/libbrowsercomps.so: >> error: depends on 'libplds4.so', which cannot be found in RUNPATH >> >> /gnu/store/=E2=80=A6-thunderbird-45.4.0/lib/firefox-devel-45.4.1/s= dk/lib/libxul.so: >> error: depends on 'libnspr4.so', which cannot be found in RUNPATH > #:make-flags > (list (string-append "LDFLAGS=3D-Wl,-rpath=3D" > (assoc-ref %outputs "out") > "/lib/R/lib")) > > This adds the =E2=80=9C/lib/R/lib=E2=80=9D directory to the RUNPATH, so= that references > to these libraries can be properly embedded. Thanks for this tip. I'm cuprous, though . Both "libplds4.so" and "libnspr4.so" are part of "nspr" which is specified as input. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |