Thanks Glen for the response. I just copied new built library files to the same directory where the original ones were. No environment changes. The library files directory is in LD_LIBRARY_PATH.
Do I need to build JSS from source if I build NSS/NSPR from source or can I use the binaries downloaded from Mozilla site. I suspect I am doing something wrong during NSS/NSPR building. Thanks, Sreedhar On Apr 27, 10:11 am, Glen Beasley <glen.beas...@sun.com> wrote: > ksreedha...@gmail.com wrote: > > Hello, > > > I am using JSS 4.2.5, NSS 3.11.4, NSPR 4.6.4. > > > If I use the binaries downloaded from > >https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_1... > > and > > >https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6.4/Linux2.6... > > > everything works fine. But once I download the source from > > >https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_1..., > > > build it using "gmake nss_build_all" in mozilla/security/nss directory > > and use the built libraries, I get the following exception: > > > ava.lang.SecurityException: Unable to initialize security library > > at org.mozilla.jss.CryptoManager.initializeAllNative2(Native > > Method) > > This exception means JSS is unable to find the dependent JSS > JNI/NSS/NSPR libraries. > set your LD_LIBRARY_PATH correct. > > > > > at org.mozilla.jss.CryptoManager.initialize(CryptoManager.java: > > 834) > > at com.fhp.ems.ssl.JssInitializer.initJss(JssInitializer.java: > > 35) > > at com.fhp.ems.main.NmsMainBE.main(NmsMainBE.java:15) > > > Can someone point me what I am doing wrong in the building the source. > > > I appreciate your help > > > Thanks, > > Sreedhar > > > > smime.p7s > 6KViewDownload- Hide quoted text - > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto