Re: Cross-Compilation of NSS for MIPS platform fails.
Wan-Teh Chang <[email protected]>
| Newsgroups | gmane.comp.mozilla.crypto |
|---|---|
| Message-ID | <CALTJjxGaKm67Rd5BYNJ8uUEXdq4Uw=sLa3VuV7eVdFS40UBQRQ@mail.gmail.com> |
Hi, Based on your reply, I believe you are cross-compiling NSS correctly. On Fri, Mar 18, 2016 at 4:40 AM, <[email protected]> wrote: > > The next issue which I faced at run time was in pkc11load.c. > Here, C_Initialize() call returns CKR_CRYPTOKI_NOT_INITIALIZED > due to which "CKR_GENERAL_ERROR" flag is being raised. > So, can you give any pointers on how I should debug further? NSS loads libfreebl3.so with a dlopen() call at run time. I guess that dlopen() call failed. You can set LD_LIBRARY_PATH to the pathname of the directory where libfreebl3.so resides. If that fixes the problem, then we know we should look in that direction. The relevant code is in lib/freebl/loader.c. Wan-Teh Chang -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto