[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnucap-devel] plugpath branch
From: |
Felix Salfelder |
Subject: |
Re: [Gnucap-devel] plugpath branch |
Date: |
Sat, 21 Jan 2017 13:22:37 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Jan 19, 2017 at 10:30:18AM +0100, Felix Salfelder wrote:
> perhaps as intended. note "RUNPATH" here. i thought you need
> "--enable-new-dtags" to get this right...
Hi Al.
found the reason in this post [1].
> -rpath (aka gcc -Wl,-rpath, aka ld -rpath) generate DT_RUNPATH instead
> of DT_RPATH.
>
> Documentation says that should be fine - the only difference is
> precedence, with DT_RPATH > LD_LIBRARY_PATH > DT_RUNPATH - but in fact
> there is another difference: DT_RUNPATH isn't used to resolve transitive
> dependencies. It isn't clear to me whether this is deliberate or not.
> See https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638
so, i am getting RUNPATH, and it is not used to resolve transitive
loading. hence "plugpath" does not work for me (cannot find the plugin).
"plugpath+" does not require transitive depdendency resolution.
what i do not see is how "-rpath" does not break (=override)
LD_LIBRARY_PATH in your setup. i understand that you are not affected by
the behaviour change above, and it sets RPATH in your gnucap executable.
a set RPATH *always* broke LD_LIBRARY_PATH for me (as documented).
hth
felix
[1] https://bugzilla.gnome.org/show_bug.cgi?id=777519#c1