On Fri, Aug 29, 2008 at 7:31 AM, Michael Kaply <[EMAIL PROTECTED]> wrote: > Wan-Teh Chang wrote: > n/NSS_reference/Building_and_installing_NSS >> >> For Mac OS X, copy all the *.dylib and *.chk files from >> mozilla/dist/Darwin...OBJ/lib to the installation directory. >> Then copy the command-line tools you want from >> mozilla/dist/Darwin...OBJ/bin to the installation directory. >> Note that the *.dylib and the command-line tools should >> be installed in the same directory on the Mac. > > Why is this the case? > > This is one thing the darwinports seem to have gotten right - libs go in > /opt/local/lib and bin go in /opt/local/bin > > Why does my built NSS specify: > > @executable_path/libplc4.dylib
It's been that way since NSPR was first ported to Mac OS X. I think it's because that's how the Mozilla clients are installed on Mac OS X. The installation structure of darwinports is more like Unix, with 'lib' and 'bin' directories as peers. You can also set the DYLD_LIBRARY_PATH environment variable to point to the direcories where the *.dylib reside. Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto