Changes in chapter08/pkgmgt.xml [7ae2811:5e7593e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/pkgmgt.xml
r7ae2811 r5e7593e 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.