Ignore:
Timestamp:
06/05/2023 03:25:22 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
17c9658d
Parents:
e131bec (diff), 0f18f2b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/pkgmgt.xml

    re131bec red9b087  
    8585      libraries until all the dependent packages have been recompiled.</para>
    8686      </listitem>
     87
     88      <listitem><para>If a package is (directly or indirectly) linked to both
     89      the old and new names of a shared library (for example, the package
     90      links to both <filename class='libraryfile'>libfoo.so.2</filename> and
     91      <filename class='libraryfile'>libbar.so.1</filename>, while the latter
     92      links to <filename class='libraryfile'>libfoo.so.3</filename>), the
     93      package may malfunction because the different revisions of the shared
     94      library present incompatible definitions for some symbol names. This can be
     95      caused by recompiling some, but not all, of the packages linked to the
     96      old shared library after the package providing the shared library is
     97      upgraded.  To avoid the issue, users will need to rebuild every package
     98      linked to a shared library with an updated revision (e.g. libfoo.so.2 to
     99      libfoo.so.3) as soon as possible.
     100      </para></listitem>
    87101
    88102      <listitem> <para>If a package containing a shared library is updated,
     
    113127      library):</para>
    114128
    115 <screen role="nodump"><userinput>grep -l  -e '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps |
    116    tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
     129<screen role="nodump"><userinput>grep -l '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
    117130
    118131      <para>
     
    120133        the system and it is linked to the updated library, you must
    121134        restart the <command>sshd</command> service, then logout, login again,
    122         and rerun the preceding ps command to confirm that nothing is still using the
     135        and run the preceding command again to confirm that nothing is still using the
    123136        deleted libraries.
    124137      </para>
Note: See TracChangeset for help on using the changeset viewer.