Re: ROCm bump to 5.7 - rocm-smi-lib SOVERSIONs bump
Hi Mo,
On 2023-09-17 19:53, M. Zhou wrote:
> A so version bump will also break the local built binaries. Because
> the locally built binary is not managed by apt, so apt will feel free
> to remove the old library and break the locally built binaries as well.
| $ sudo apt-get install liblinear4
| ...
| 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
| $ sudo apt-get autoremove
| ...
| $ 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
^^^
Even in the case where the package is auto-removed (typically as a
dependency), apt will (1) tell you about it and (2) ask you to confirm
the action.
But that's Debian-specific. In any case, shared libraries signal
backwards-incompatible changes by bumping SONAME, that's the entire
point of having it. Policy § 8.1 affirms this.
Best,
Christian
Reply to: