[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-security-dev
Subject:    Re: RFR 8059313: Enable keytool NSS test on Mac
From:       Vincent Ryan <vincent.x.ryan () oracle ! com>
Date:       2014-10-07 7:22:11
Message-ID: D7CD12D0-6A5A-42DA-8F1A-0A8AB2B54972 () oracle ! com
[Download RAW message or body]

Yes. OSX supports a mechanism to locate (nested) shared libraries using a path relative
to the loading library: @loader_path/…

Running ‘otool -L’ on a shared library shows the linker paths that have been configured. 

 
On 7 Oct 2014, at 00:10, Wang Weijun <weijun.wang@oracle.com> wrote:

> I'll use your libs.
> 
> Why is DYLD_LIBRARY_PATH not needed here? Some different linking method?
> 
> Thanks
> Max
> 
> On Oct 6, 2014, at 23:54, Vincent Ryan <vincent.x.ryan@oracle.com> wrote:
> 
>> JDK-8059627 now bundles NSS with our PKCS11 testsuite (just like on Windows)
>> 
>> I know you have implemented a different solution for locating NSS on Max OSX for your keytool tests.
>> FYI if you switch to using the bundled NSS then you no longer need to set DYLD_LIBRARY_PATH.
>> It’s not a big saving but I thought I’d let you know.
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic