[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i686-solaris
From: |
Ludovic Courtès |
Subject: |
Re: i686-solaris |
Date: |
Fri, 12 Jul 2013 13:55:26 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Vincent Lefevre <address@hidden> skribis:
> On 2013-07-12 11:55:50 +0200, Vincent Lefevre wrote:
>> On 2013-07-12 11:15:15 +0200, Ludovic Courtès wrote:
[...]
>> > However, it may be that ./conftest above is picking /usr/lib/libgmp.so
>> > at run time, presumably because /nix/store/...-gmp-4.3.2/lib is not in
>> > the loader’s search path. Nixpkgs’s ld-wrapper normally adds it to the
>> > RPATH [0], but perhaps this has lower precedence than /usr/lib?
>>
>> It didn't: there's no trace of -rpath in the above gcc line.
>>
>> And $LD_RUN_PATH was not predefined either. MPFR's configure does:
> [...]
>
> I've done a test on a Solaris machine, and providing LD_RUN_PATH in
> addition to CPPFLAGS and LDFLAGS works.
Are you saying that if you don’t do that, /usr/lib is searched *before*
the RPATH?
Ludo’.