Found this in Ubuntu bugs
https://bugs.launchpad.net/ubuntu/+source/libnss-db/+bug/238500

Even though there are symlinks for each library but the SONAME differs
for all on Ubuntu and any other 
Linux distribution. On Ubuntu 
 objdump -p /usr/lib/libnss3.so | grep SONAME 
gives libnss3.so.1d where as on Suse (or probably many other Linux) its
libnss3.so, so the problem 
that I face is obvious, though it works the opposite way (Building on
Suse and running it on Ubuntu). 

I don't know whom to blame :-) I guess probably not use ubuntu for
building.

Thanks
Ruchi 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Wan-Teh Chang
Sent: Friday, July 18, 2008 10:24 AM
To: mozilla's crypto code discussion list
Subject: Re: A general question about libnss3

NSS also stands for "Name Service Switch".  Fortunately, our convention
of inserting the major version "3" in our shared library names avoid
most
naming conflicts with Name Service Switch's libraries (and OpenSSL's
SSL library).

So you can eliminate anything that doesn't match the pattern lib*3.so*
from your list.  We're now left with:

lrwxrwxrwx 1 root root      13 2008-07-17 16:47 libnss3.so ->
libnss3.so.1d

lrwxrwxrwx 1 root root      13 2008-07-17 16:47 libnss3.so.0d ->
libnss3.so.1d

-rw-r--r-- 1 root root 1156684 2008-05-29 02:52 libnss3.so.1d

lrwxrwxrwx 1 root root      17 2008-07-17 16:47 libnssutil3.so ->
libnssutil3.so.1d

lrwxrwxrwx 1 root root      17 2008-07-17 16:47 libnssutil3.so.0d ->
libnssutil3.so.1d

I don't know what "0d" and "1d" stand for, but many Unix platforms and
Linux
have the convention of adding the major (and minor) version number as
suffix
after the ".so".  So "0d" and "1d" might mean some additional version
numbers
that Ubuntu assigned to their NSS builds.  But as you can see from the
directory listing, they set up symbolic links so that you can just use
libnss3.so
and libnssutil3.so as you do on your SUSE box.

Finally, regarding the nss packages:

    libnss3-0d
    libnss3-1d
    libnss3-1d-dbg
    libnss3-dev

The libnss3-dev package is a developer package that gives you the header
files.  It is equivalent to what's usually called an SDK.

The other packages, I guess, are the runtime package that contains only
the .so's.  I guess libnss3-1d-dbg is a debug build.

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

Reply via email to