Currently, rpath for the nss tools on HP-UX is only set for ia64. We need to set it for pa-risc 32 bit: tools are in /somewhere/bin, libraries are in /somewhere/lib RPATH: $ORIGIN/../lib 64 bit: tools are in /somewhre/bin/[pa20_64|64], libraries are in /somewhere/lib/[pa20_64|64] RPATH: $ORIGIN/../../lib/pa20_64:$ORIGIN:/../../lib/64
The fix should be in mozilla/security/nss/cmd/platlibs.mk near line 207 32 bit: EXTRA_SHARED_LIBS += -Wl,+s,+b,'$$ORIGIN/../lib' 64 bit: EXTRA_SHARED_LIBS += -Wl,+s,+b,'$$ORIGIN/../../lib/pa20_64:$$ORIGIN/../../lib/64'
Created attachment 219816 [details] [diff] [review] Set library search path in cmd/platlibs.mk Tested on 32 and 64 bit build
Comment on attachment 219816 [details] [diff] [review] Set library search path in cmd/platlibs.mk Looks good. You might want to put a comment on the $OS_TEST else clause indicating it's for pa-risc.
Checked-in on: - trunk - NSS_3_11_BRANCH - NSS_3_11_1_BRANCH Still need resolution of bug 335343 to be fully functional on 64 bit.
No, even with the RPATH set (this bug fixed), bug 335454 is still present.