Paul Hoffman wrote:
At 3:51 PM -0800 1/18/07, Wan-Teh Chang wrote:
Paul Hoffman wrote:

And, just for grins, I added the following to my .bashrc:

export PATH="${PATH}:/home/phoffman/nss-3.11.4/mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/bin"

If you do this, you should not need the nss.conf file because the
$ORIGIN/../lib RPATH in our executable programs expands to
/home/phoffman/nss-3.11.4/mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/lib.
Could you give it a try?

Tried; didn't work.

Thank you for trying that.  I verified that it didn't work.
It's because mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/bin/certutil
is a symbolic link (by default).  This experiment shows that $ORIGIN
follows symlinks.  If I make
mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/bin/certutil a real file,
then it can find the .so's in $ORIGIN/../lib.

You can make mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/bin/certutil
a real file by building NSS with NSDISTMODE=copy on the make command
line or as an environment variable.

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to