[blfs-book] [BLFS Trac] #9109: libnssckbi.so relinked to libnssckbi.so.orig

BLFS Trac via blfs-book blfs-book at lists.linuxfromscratch.org
Tue Apr 11 05:57:36 PDT 2017


#9109: libnssckbi.so relinked to libnssckbi.so.orig
-----------------------------+--------------------------
 Reporter:  pierre.labastie  |       Owner:  blfs-book@…
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  8.1
Component:  BOOK             |     Version:  SVN
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+--------------------------

Comment (by pierre.labastie):

 gnutls has nothing to do with that. It just happened to be the first
 package to install libraries using libtool, that is, using '''ldconfig'''.
 Try:
 {{{
 $ sudo ln -fs libp11-kit.so /usr/lib/libnssckbi.so
 $ ls -l /usr/lib/libnssckbi.so
 lrwxrwxrwx 1 root root 13 11 avril 14:46 /usr/lib/libnssckbi.so ->
 libp11-kit.so
 $ sudo ldconfig
 $ ls -l /usr/lib/libnssckbi.so
 lrwxrwxrwx 1 root root 18 11 avril 14:46 /usr/lib/libnssckbi.so ->
 libnssckbi.so.orig
 }}}
 The reason is that ldconfig does 2 things:
 - update the ld.so.cache file
 - '''create links'''
 When '''ldconfig''' finds a shared library with a given ''soname'', it
 creates a link from a file named according to that soname to the said
 library...

 So, if we want to remove that link, we need to get libnssckbi.so.orig out
 of the search path (or pattern) of ldconfig.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/9109#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch


More information about the blfs-book mailing list