libnss3.so missing from /usr/lib

Bug #778726 reported by André Ventura
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nss (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The libnss3.so is missing from /usr/lib and /usr/lib64 since the update of libnss3 from the version 3.12.9+ckbi-1.82-0ubuntu2 to 3.12.9+ckbi-1.82-0ubuntu3:

3.12.9+ckbi-1.82-0ubuntu2:

-rw-r--r-- 1 root root 1279784 2011-04-20 15:04 /usr/lib/libnss3.so
-rw-r--r-- 1 root root 1107684 2011-04-20 15:01 /usr/lib32/libnss3.so
-rw-r--r-- 1 root root 1279784 2011-04-20 15:04 /usr/lib64/libnss3.so

3.12.9+ckbi-1.82-0ubuntu3:

ls: cannot access /usr/lib/libnss3.so: No such file or directory
-rw-r--r-- 1 root root 1107684 2011-04-20 15:01 /usr/lib32/libnss3.so
ls: cannot access /usr/lib64/libnss3.so: No such file or directory

Related branches

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thanks, but when running a development release (especially a pre-alpha release), it helps to check the changelog before reporting a bug (or subscribe to oneiric-changes)

nss (3.12.9+ckbi-1.82-0ubuntu3) oneiric; urgency=low

  * Build for multiarch.
 -- Steve Langasek <email address hidden> Fri, 22 Apr 2011 11:00:14 -0700

Changed in nss (Ubuntu):
status: New → Invalid
Revision history for this message
Hanmac (hanmac) wrote :

because of this jdownloader crashs. its possible to solv this to add a symlink from /usr/lib to the multi arch dir

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Well, that's a jdownloader bug

Revision history for this message
André Ventura (afv) wrote :

Thanks Chris but I read the log before (I'm subscribed to oneiric-changes).

Does then "build for multiarch" mean that instead of having one .so for each architecture we do have only one single file for all of them?
If so, I misunderstood, sorry. :) But shouldn't it be on /usr/lib/ instead of the particular /usr/lib64/ ?

Minecraft, for example, throws an exception when connecting to the minecraft.net server because it's looking at /usr/lib/:

java.security.ProviderException: Could not initialize NSS
...
Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
 at sun.security.pkcs11.Secmod.initialize(Secmod.java:186)
 ...

Revision history for this message
André Ventura (afv) wrote :

*instead of the particular /usr/lib32/ ?

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

No, there is a folder for each specific ABI now. If you run "dpkg -L libnss3", you will see where the libraries now live

Revision history for this message
xyloman (xyloman) wrote :

I was able to get around this issue by performing the following command: sudo ln -s /usr/lib/i386-linux-gnu/libnss3.so /usr/lib/

Revision history for this message
Micah Gersten (micahg) wrote :

@xyloman
That's a good way to break other software. The idea with multiarch is that multiple architecture's should be co-installable. Your software should be patched to look in the proper multiarch dir. If your piece of software is from the Ubuntu archive, please file a bug against it and tag it multiarch. If it is not, please file a bug with the provider of the software.

Revision history for this message
André Ventura (afv) wrote :

Thank you for the explanation.

Revision history for this message
Hanmac (hanmac) wrote :

@Micah Gesten: hm i does not see an co-installable for the nss packages now, or will this added later?

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 778726] Re: libnss3.so missing from /usr/lib

Multiarch was added to nss for oneiric as quoted in the changelog
entry by Chris Coulson above. If you are running natty or earlier,
you should not be affected by this.

Revision history for this message
Matthias Klose (doko) wrote :

while there should not be a symlink in /usr/lib, the .pc should not advertise that it is found in /usr/lib (same for nss-config).

Changed in nss (Ubuntu):
importance: Undecided → High
status: Invalid → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nss - 3.12.9+ckbi-1.82-0ubuntu4

---------------
nss (3.12.9+ckbi-1.82-0ubuntu4) oneiric; urgency=low

  * nss-config, nss.pc: Fix multiarch libdir location. LP: #778726.
 -- Matthias Klose <email address hidden> Tue, 17 May 2011 16:33:57 +0200

Changed in nss (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.