all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Phase `validate-runpath' fails: lib not in RUNPATH
Date: Sun, 6 Nov 2016 21:34:39 +0100	[thread overview]
Message-ID: <20161106213439.6010e115@scratchpost.org> (raw)
In-Reply-To: <d7652b40-56d8-63be-e600-58c2d0209d41@crazy-compilers.com>

On Sun, 6 Nov 2016 20:52:20 +0100
Hartmut Goebel <h.goebel@crazy-compilers.com> 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.

  reply	other threads:[~2016-11-06 20:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06 18:11 Phase `validate-runpath' fails: lib not in RUNPATH Hartmut Goebel
2016-11-06 19:28 ` Ricardo Wurmus
2016-11-06 19:52   ` Hartmut Goebel
2016-11-06 20:34     ` Danny Milosavljevic [this message]
2016-11-07  3:21       ` Chris Marusich
2016-11-07  9:03         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161106213439.6010e115@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.