Paul Hoffman wrote:
At 6:55 AM -0500 1/18/07, David Stutzman wrote:The libs aren't in your system's libpath. You can either move all the .so's into /usr/lib, or another location already in the libpath, or add the directories with the nss and nspr shared libs to /etc/ld.so.conf and then run ldconfig which will update the environment to include the directories you just added. After doing one of those you should be able to run the command-line utils from where there are after compilation. I'm sure there's other ways...those are just 2 of ways I do it on my linux systems.Thanks for all the help from everyone. The path (pun intended) I chose was the second of David's, which is probably Linux-specific and possibly Ubuntu-specific. This seems better because I don't end up clobbering files that possibly have the same names in /usr/lib
Just a quick survey of other Linux distros:Fedora's rpm (Core 6) puts the NSS shared libraries in /usr/lib (http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/nss-3.11.3-2.i386.rpm <http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/nss-3.11.3-2.i386.rpm>) and the include files in /usr/include/nss3 (http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/nss-devel-3.11.3-2.i386.rpm <http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/nss-devel-3.11.3-2.i386.rpm>).
Debian (latest stable) puts the shared libraries in /usr/lib (http://packages.debian.org/stable/libs/libnss3) and the include files in /usr/include/mozilla/nss (http://packages.debian.org/stable/libdevel/libnss-dev).
OpenSuse (10.2)puts the shared libraries in /usr/lib (http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/mozilla-nss-3.11.3-10.i586.rpm) and include files in /usr/include/nss3 (http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/mozilla-nss-devel-3.11.3-10.i586.rpm).
NSS shared libraries have the major version number in their name proper, so the don't collide with name switch system.
Blind copies are probably not a good idea. Most distros are shipping just a limitted set of tools. NSS's tools directory include test utilities, as well as general tools. http://wiki.mozilla.org/NSS:ToolsToShip has the current general thinking in this areaexport PATH="${PATH}:/home/phoffman/nss-3.11.4/mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ/bin"Again, I'm hesitant to blindly copy things into /usr/bin and so on.
At 9:59 AM -0800 1/18/07, Wan-Teh Chang wrote:The build system of NSS originated from Netscape's build system, which predated the "configure; make; make test; make install" sequence that we're familiar with now.Right, and that was my downfall. The fact that there is a FreeBSD port maintainer who made that cycle (minus 'make test') work made me think incorrectly that this was from the original Makefile.Again, thanks for the help. Plodding forwards... --Paul Hoffman
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