Changeset ed9b087 for chapter08/pkgmgt.xml
- Timestamp:
- 06/05/2023 03:25:22 PM (11 months ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/pkgmgt.xml
re131bec red9b087 85 85 libraries until all the dependent packages have been recompiled.</para> 86 86 </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> 87 101 88 102 <listitem> <para>If a package containing a shared library is updated, … … 113 127 library):</para> 114 128 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> 117 130 118 131 <para> … … 120 133 the system and it is linked to the updated library, you must 121 134 restart the <command>sshd</command> service, then logout, login again, 122 and r erun the preceding ps commandto confirm that nothing is still using the135 and run the preceding command again to confirm that nothing is still using the 123 136 deleted libraries. 124 137 </para>
Note:
See TracChangeset
for help on using the changeset viewer.