Kai Engert wrote:
Those library calls are part of the command line utilities that NSS uses for it's stand alone commands. There are not shipped with the NSS shared libraries, or part of the mozilla builds. RH-9 got NSS from mozilla, so the library is missing.D3|\||\|!$ wrote:Later on, I decided to test the code onto redhat9Wow, you're really still using Red Hat Linux version 9?and now the code compiles properly but throws up linking error("undefined reference") with the following functions: SECU_DefaultSSLDir() SECU_ConfigDirectory(char const*) Since the functions are contained in secutil.h, I linked with libsectool.a - the problem still remained. So I tried linking with libsecutil.a instead - still, nothing happens. How do I fix this problem??
You have a couple of options: 1) try to build the library yourself, or 2) include the relevant code in your out application.
The actual code lives in the NSS tree under mozilla/security/nss/cmd/lib . bob
Maybe try to add -lnss3 to your gcc command line? Kai ------------------------------------------------------------------------ _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto