guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Phase `validate-runpath' fails: lib not in RUNPATH


From: Chris Marusich
Subject: Re: Phase `validate-runpath' fails: lib not in RUNPATH
Date: Sun, 06 Nov 2016 19:21:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Danny Milosavljevic <address@hidden> writes:

> On Sun, 6 Nov 2016 20:52:20 +0100
> Hartmut Goebel <address@hidden> wrote:
>> Thanks for this tip. I'm cuprous, though . Both "libplds4.so" and
>> "libnspr4.so" are part of "nspr" which is specified as input.
>
> Yes, but will the linker embed the full path to libnspr4.so into the
> executable (or in your case shared library) it builds for thunderbird?
> If not, ld.so would pick up a random package at runtime (one it just
> happens to find in the library search path) - something we don't want.
>
> What the ld option "rpath" does is embed the full path to libnspr4.so
> into the executable (or in this case shared object) it builds. In this
> way it will pick exactly this libnspr4.so library or fail at startup.

I thought the default gnu build system arranges for the rpath to be set
correctly in the executables?  Why would we need to add code here to do
that for this one package?  I thought it would happen automatically.

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]