On 2009-10-30 11:36 PDT, Skellington wrote: > Hello, > I have successfully compiled nss-3.12 for Mac OS X 10.5.x using the > "nss_build_all" command. I however do not see a reference in the > "Build_instructions" on what to do after running "nss_build_all" as > completed. > > I found the "certutil" binary but when I try to run it I get the > following error... > > /Users/local/Desktop/nss-3.12/mozilla/security/nss/cmd/certutil/ > Darwin9.7.0_DBG.OBJ/certutil > dyld: Library not loaded: @executable_path/libssl3.dylib > Referenced from: /Users/local/Desktop/nss-3.12/mozilla/security/nss/ > cmd/certutil/Darwin9.7.0_DBG.OBJ/certutil > Reason: image not found > Trace/BPT trap > > Is there another command I need to run to finish the build?
At the end of the build, each of the built commands is copied into a common directory of command executables, which in your case is probably /Users/local/Desktop/nss-3.12/mozilla/dist/Darwin9.7.0_DBG.OBJ/bin and all the shared libraries (the "dylibs" in Mac OSX speak) get copied into a common directory of shared libs, which in your case is probably /Users/local/Desktop/nss-3.12/mozilla/dist/Darwin9.7.0_DBG.OBJ/lib What you need to do is to add that pathname of that lib directory to your environment variable that holds the path names of the directories in which MacOSX looks for dylibs. Unfortunately, I can't recall the name of that environment variable right now. but if you run a command like "env | grep LIB | sort" or "printenv | grep LIB | sort", you should see it pretty quickly. Once you add it onto the end of that list of directories, then your certutil command should work better. I suggest you try running your certutil command from the common bin directory above, rather than from the one where it was built (under the sources). -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

