-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared library soname should change iff ABI incompatible #1592
Comments
@maxsharabayko ABI breaking changes without soname changes are impact Linux distributions e.g. [1] making srt difficult to ship. Would it be possible to have a 1.5 release as soon as possible? Thanks! [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971754 |
@FedericoCeratto The next planned SRT release is v1.4.3. |
You have to increase that 1 there whenever the ABI is changing in incompatible ways. If you're lazy you could simply increase it with every release. |
If you're willing to take care to avoid ABI changes in patch releases (1.4.4, 1.4.5, etc) I would suggest |
Going forward with |
The soname is currently
libsrt.so.1
and has been through several ABI-incompatible releases. E.g. 1.4.2 broke ABI by adding some fields to theCBytePerfMon
structure. To avoid trouble when a shared libsrt is upgraded, the soname of the library should be bumped to reflect the incompatibility.I would suggest making the next release 1.5.0 and using the soname
libsrt.so.1.5
, then avoiding breaking ABI in patch releases. If ABI is broken, the minor (or major) version is increased.The text was updated successfully, but these errors were encountered: