It works a little different here. The binary compiled with libnss3.so (not as symlinks) on the system, works fine on Ubuntu with libnss3.so.1d and a symlinks as libnss3.so to libnss3.so.1d (apt-get takes care of making that I suppose). Since the binary depends on libnss3.so which it finds it as symlinks (/usr/lib/libnss3.so --> libnss3.so.1d), it works without any numbering issues.
Thanks Ruchi -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wan-Teh Chang Sent: Monday, August 18, 2008 1:22 PM To: mozilla's crypto code discussion list Subject: Re: A general question about libnss3 On Mon, Aug 18, 2008 at 11:05 AM, Ruchi Lohani <[EMAIL PROTECTED]> wrote: > So can I manually download the NSS and NSPR source from > https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_R > TM/src/nss-3.12-with-nspr-4.7.tar.gz > and then compile it on Ubuntu? Will it solve the build problem to allow > me build it on Ubuntu and use > it on multiple Linux distros? If you link with the official NSS 3.12 RTM build, your code will be looking for the SONAME libnss3.so on startup. Since Ubuntu's libnss3-1d package installs only /usr/lib/libnss3.so.1d, your code won't work on an Ubuntu machine with just the libnss3-1d package. Your code should, however, work on Fedora and openSUSE. Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto