View previous topic :: View next topic |
Author |
Message |
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Thu Jan 21, 2010 12:00 am Post subject: [solved] missing libraries |
|
|
how to solve:
Code: | $ revdep-rebuild --library libnss3.so.12 |
My gnome clock applet stopped working, so I went to check out what happened.
Code: | $ ldd /usr/lib/gnome-panel/libclock-applet.so | grep 'not found'
libssl3.so.12 => not found
libsmime3.so.12 => not found
libnssutil3.so.12 => not found
libnss3.so.12 => not found
libssl3.so.12 => not found
libsmime3.so.12 => not found
libnssutil3.so.12 => not found
libnss3.so.12 => not found |
so I did a revdep-rebuild and somehow there was nothing to rebuild. Strange...
I looked in the /usr/lib/nss and those libraries were there
Code: | $ cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
include ld.so.conf.d/*.conf
/usr/lib/opengl/nvidia/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4
/usr/lib/nspr
/usr/lib/nss
/usr/lib/xulrunner-1.9.1
/usr/lib/qt4
/usr/games/lib |
nothing wrong with ld.so.conf, but anyway I deleted the ld.so.cache and did an env-update, logged out, logged in again and ldd still complained about missing libraries. I checked file ownership of the libraries, file and directories permissions, nothing unusual.
if I LD_LIBRARY_PATH=/usr/lib/nss ldd /usr/lib/gnome-panel/libclock-applet.so, ldd stops complaining about missing libraries
I have no idea why this is happening. Any suggestions?
Last edited by jvrodrigues on Sat Jan 23, 2010 2:52 pm; edited 1 time in total |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jan 21, 2010 12:08 am Post subject: |
|
|
Did you check: Code: | $ cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
include ld.so.conf.d/*.conf <---------------THIS------------
/usr/lib/opengl/nvidia/lib |
and this: Code: | # cat /etc/env.d/08nss
LDPATH=/usr/lib/nss |
Last edited by Mike Hunt on Thu Jan 21, 2010 12:20 am; edited 1 time in total |
|
Back to top |
|
|
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Thu Jan 21, 2010 12:18 am Post subject: |
|
|
Mike Hunt wrote: | Did you check: Code: | $ cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
include ld.so.conf.d/*.conf <---------------THIS------------
/usr/lib/opengl/nvidia/lib |
|
yes, nothing in /etc/ld.so.conf.d
Mike Hunt wrote: | and this, it looks like it should be ok: Code: | # cat /etc/env.d/08nss
LDPATH=/usr/lib/nss |
|
yes, it's there.
To add some mistery to the case, I searched for other libraries that depend on libnss3.so.12 and guess what:
Code: | $ ldd /usr/lib/mozilla-firefox/components/libbrowsercomps.so | grep nss
libssl3.so.12 => /usr/lib/nss/libssl3.so.12 (0xb5ed2000)
libsmime3.so.12 => /usr/lib/nss/libsmime3.so.12 (0xb5eab000)
libnss3.so.12 => /usr/lib/nss/libnss3.so.12 (0xb5d9d000)
libnssutil3.so.12 => /usr/lib/nss/libnssutil3.so.12 (0xb5d83000)
$ ldd /usr/lib/gnome-panel/libclock-applet.so | grep nss
libssl3.so => /usr/lib/nss/libssl3.so (0xb7695000)
libsmime3.so => /usr/lib/nss/libsmime3.so (0xb766e000)
libnssutil3.so => /usr/lib/nss/libnssutil3.so (0xb7654000)
libnss3.so => /usr/lib/nss/libnss3.so (0xb7546000)
libnssutil3.so.12 => not found
libnss3.so.12 => not found
libnssutil3.so.12 => not found
libnss3.so.12 => not found |
Last edited by jvrodrigues on Thu Jan 21, 2010 12:25 am; edited 1 time in total |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jan 21, 2010 12:22 am Post subject: |
|
|
In that case, I would probably just re-emerge gnome-base/gnome-panel
then for good measure give revdep-rebuild a run through. |
|
Back to top |
|
|
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Thu Jan 21, 2010 1:01 am Post subject: |
|
|
cleaned the ccache, re-emerged gnome-base/gnome-panel, re-ran revdep-rebuild and no changes.
Guess I'll try re-emerging dev-libs/nss now |
|
Back to top |
|
|
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Thu Jan 21, 2010 1:40 am Post subject: |
|
|
rebuilt dev-libs/nss, no change.
last resort: revdep-rebuild --library libnss3.so.12 |
|
Back to top |
|
|
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Thu Jan 21, 2010 12:35 pm Post subject: |
|
|
I downgraded to dev-libs/nss-3.12.3-r1 and the clock applet started working.
anybody else has problems with nss-3.12.5 and gnome-panel-2.26.3 ?
Should I report a bug? |
|
Back to top |
|
|
Shodan n00b
Joined: 18 Apr 2003 Posts: 19 Location: Milan, Italy
|
Posted: Fri Jan 22, 2010 10:33 am Post subject: |
|
|
Same here.
re-emerged both gnome-panel and nss, nothing changes.
I noticed this:
Code: | ldd /usr/lib/gnome-panel/libclock-applet.so|grep ssl
libssl3.so => /usr/lib/nss/libssl3.so (0xb7e3a000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7a34000)
libssl3.so.12 => not found
libssl3.so.12 => not found
|
It DOES find libssl3 in /usr/lib/nss, it does not find a libssl3.so.12 somewhere else (even though a libssl3.so.12 IS present in /usr/lib/nss) |
|
Back to top |
|
|
jvrodrigues n00b
Joined: 18 Dec 2006 Posts: 26
|
Posted: Sat Jan 23, 2010 2:56 pm Post subject: |
|
|
I ran revdep-rebuild --library libnss3.so.12 and it fixed it.
Shodan wrote: | re-emerged both gnome-panel and nss, nothing changes. |
I think you'll also have to rebuild gnome-extra/evolution-data-server. It was the package I rebuilt that had something to do with the clock applet |
|
Back to top |
|
|
richard77 Apprentice
Joined: 21 Apr 2004 Posts: 281
|
Posted: Mon Jan 25, 2010 7:55 pm Post subject: |
|
|
Same problem here.
Also for me Code: | revdep-rebuild --library libnss3.so.12 | worked.
What I don't understand is why plain revdep-rebuild did not find anything. _________________ Fletto i muscoli e sono nel vuoto |
|
Back to top |
|
|
|