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.w...@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.r...@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. >