Add a warning to the icu package

If upgrading to a new majore version of icu, add a warning about the
need to upgrade other packages.  Also provide information about how to
test packages for conflicts.
This commit is contained in:
Bruce Dubbs 2023-05-28 11:28:13 -05:00
parent 32054928d1
commit 959d0d268b

View File

@ -34,6 +34,33 @@
the same results on all platforms.
</para>
<warning>
<para>
Upgrading this package to a new major version will require rebuilding
of many other packages. If some packages that use the librares built
by icu4c-&icu-major; are rebuilt, they will use the new libraries
while current packages will use the previous libraries. If the
linux application loader (/usr/lib/ld-linux-x86-64.so.2) determines
that both the old and new libraries are needed, it will probably
cause an address conflict when resolving needed symbols and will
result in the application failing.
</para>
<para>
To determine what external libraries are needed (directly or indirectly)
by an application or a library, run:
</para>
<screen><userinput>ldd &lt;application or library&gt; </userinput></screen>
<para>
or to see only the directly needed libraries:
</para>
<screen><userinput>readelf -d &lt;application or library&gt; | grep NEEDED</userinput></screen>
</warning>
&lfs113_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>