Hello,

I have an application that uses NSS for TLS functionality and I am
trying to compile it statically (under Linux).  I ran into a number of
issues.  First, it took me a long time to get the ordering between all
static NSS libraries right, so the linker would not complain about
unresolved references.  After that, I had a number of unresolved
references to dl* functions.  Since they should not be called at all
for static executables, I wrote a small stub for all dl* functions and
linked it into my executable.  In the end, I got a number of
unresolved references to 'dbopen' from the NSS software token code.
Frankly, I'm not sure how to deal with that.

Does anybody have experience with trying to statically compile
applications that use NSS on the Linux platform?  How did you proceed?

I welcome all tips :)  Thanks!

Regards,
Peter Djalaliev
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to