Changes in chapter08/pkgmgt.xml [5e7593e:7ae2811]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/pkgmgt.xml
r5e7593e r7ae2811 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 both89 the old and new names of a shared library (for example, the package90 links to both <filename class='libraryfile'>libfoo.so.2</filename> and91 <filename class='libraryfile'>libbar.so.1</filename>, while the latter92 links to <filename class='libraryfile'>libfoo.so.3</filename>), the93 package may malfunction because the different revisions of the shared94 library present incompatible definitions for some symbol names. This can be95 caused by recompiling some, but not all, of the packages linked to the96 old shared library after the package providing the shared library is97 upgraded. To avoid the issue, users will need to rebuild every package98 linked to a shared library with an updated revision (e.g. libfoo.so.2 to99 libfoo.so.3) as soon as possible.100 </para></listitem>101 87 102 88 <listitem> <para>If a package containing a shared library is updated, … … 127 113 library):</para> 128 114 129 <screen role="nodump"><userinput>grep -l '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u</userinput></screen> 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> 130 117 131 118 <para> … … 133 120 the system and it is linked to the updated library, you must 134 121 restart the <command>sshd</command> service, then logout, login again, 135 and r un the preceding command againto confirm that nothing is still using the122 and rerun the preceding ps command to confirm that nothing is still using the 136 123 deleted libraries. 137 124 </para>
Note:
See TracChangeset
for help on using the changeset viewer.