Wan-Teh Chang wrote:
Florian Bernstein wrote:

Wan-Teh Chang wrote:

Florian Bernstein wrote:

Hello,

everytime I tried to build a java application using the jss34.jar, I get following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jss3 in java.library.path

Can anyone help me get it working?




I believe the "jss3" in the exception message is referring to
libjss3.so.  JSS contains native code.  So you need libjss3.so,
NSS (libnss3.so, etc.), and NSPR (libnspr4.so), and the directory
these .so's are in needs to be added to your LD_LIBRARY_PATH
environment variable.

Wan-Teh

That's what I have already done, downlaoding all the lib files and addign the pathes to the LD_LIBRARY_PATH. But it seems as if linux doesn't recognize the libs. I checked the pathes twice, and they're spelled right.

Any other solutions?


Please post the value of your LD_LIBRARY_PATH here.

On Linux, you need the following files:
libjss3.so
libnss3.so
libsoftokn3.so
libsoftokn3.chk
libsmime3.so
libssl3.so
libnspr4.so
libplc4.so
libplds4.so

The *directories* they are installed in need to be in
your LD_LIBRARY_PATH environment variable for the JRE.

Other than this, I can't think of any other possible
cause of the problem.

Wan-Teh

Hi

Here is the value of my LD_LIBRARY_PATH: /home/flo/BA/jss-3.4.1/lib:/home/flo/BA/nspr-4.4.1/lib:/home/flo/BA/nss-3.9.2/lib

I got all the files you mentioned except libsoftokn3.chk, I can't find this file in the nss-3.9.2 directory.

I'm not very used to Linux, but could it be possible, that the JRE checks an other variable instead of LD_LIBRARY_PATH ?

In Windows, the whole thing works, but unfortunately it have to work run under Linux, as part of my bachelor thesis. So any suggestion is welcome.





_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to