libnss3 on Solaris needs additional rpath to /usr/lib/mps

RESOLVED FIXED in 3.9.3

Status

NSS
Libraries
P1
normal
RESOLVED FIXED
13 years ago
11 years ago

People

(Reporter: Julien Pierre, Assigned: Saul Edwards)

Tracking

3.9.2
3.9.3
Sun
SunOS

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

13 years ago
In suid applications, $ORIGIN or LD_LIBRARY_PATH do not get resolved.
In order for libnss3.so to find its libsoftoken3.so dependency, a fully
qualified path needs to be added to the rpath of libnss3 .
(Reporter)

Comment 1

13 years ago
This will be a sun-specific setting (ifdef BUILD_SUN_PKG). We need the fix ASAP.
Priority: -- → P1
Target Milestone: --- → 3.9.3
(Reporter)

Updated

13 years ago
Assignee: julien.pierre.bugs → saul.edwards.bugs
(Reporter)

Updated

13 years ago
Keywords: sun-orion3
(Assignee)

Comment 2

13 years ago
Created attachment 159148 [details] [diff] [review]
rpaths are consolidated

Tested the libraries to make sure that all options worked and resulted in the
correct RPATHs.
(Assignee)

Updated

13 years ago
Attachment #159148 - Flags: review?(julien.pierre.bugs)
(Reporter)

Updated

13 years ago
Attachment #159148 - Flags: review?(julien.pierre.bugs) → review+

Comment 3

13 years ago
Comment on attachment 159148 [details] [diff] [review]
rpaths are consolidated

Saul, I have the same suggested change for this
patch.	Could you adjust this patch to use ifeq
instead of ifneq with BUILD_SUN_PKG?  It is easier
for me to understand that way.	Thanks.
(Assignee)

Comment 4

13 years ago
Created attachment 159260 [details] [diff] [review]
Final patch, checked in

Checked in:
Tip:
Checking in config.mk;
/cvsroot/mozilla/security/nss/lib/nss/config.mk,v  <--	config.mk
new revision: 1.24; previous revision: 1.23
done

3.9:
Checking in config.mk;
/cvsroot/mozilla/security/nss/lib/nss/config.mk,v  <--	config.mk
new revision: 1.21.16.2; previous revision: 1.21.16.1
done
Attachment #159148 - Attachment is obsolete: true
(Reporter)

Updated

13 years ago
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
(Reporter)

Updated

12 years ago
Blocks: 285237
You need to log in before you can comment on or make changes to this bug.