Linux build won't load--bad link to libhpi.so

RESOLVED FIXED in 3.2

Status

JSS
Library
--
critical
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Jamie Nicolson, Assigned: Jamie Nicolson)

Tracking

Details

(Assignee)

Description

16 years ago
On linux, libjss3.so is getting linked to libhpi.so. libhpi is obsolete as of
jdk 1.4. Although it still exists, the directory where it resides is not
automatically loaded into the LD_LIBRARY_PATH by the JVM, so the loader can't
find it when it is trying to resolve the dependencies of libjss3.so.

It appears that we shouldn't be linking to libhpi at all, since we don't call
directly into it.

I experimented by removing this library from the link step, and libjss3 loaded
correctly under jdk 1.4.0. Then I tried the same build with jdk 1.3.1_02, and it
still worked.
(Assignee)

Comment 1

16 years ago
Fixed on trunk and JSS_3_2_BRANCH.

Trunk: /mozilla/security/coreconf/jdk.mk 1.12 -> 1.13

JSS_3_2_BRANCH: 1.12 -> 1.12.12.1
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
(Assignee)

Comment 2

16 years ago
I should note that this change caused JSS to hang badly when run with JDK 1.3.
strace reveals several SEGVs and then the whole thing just hangs. However, it
works fine with jdk 1.3.1_02. The JSS team has previously experienced bugs with
JDK 1.3.0, so I am going to assume it is a problem with the JVM. Anyone using
1.3 will have to upgrade at least to 1.3.1.
(Assignee)

Updated

16 years ago
Target Milestone: --- → 3.2
You need to log in before you can comment on or make changes to this bug.