Skip to content
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

Please bump SONAME when removing library symbols. #488

Open
petterreinholdtsen opened this issue Nov 9, 2023 · 2 comments
Open

Please bump SONAME when removing library symbols. #488

petterreinholdtsen opened this issue Nov 9, 2023 · 2 comments

Comments

@petterreinholdtsen
Copy link

At the moment the library SONAME version is 0. To work well in a Linux environment with programs linked to the shared library, the library should change SONAME version every time a non-backwards compatible change is done. One example like this is the removal of symbols.

While working on updating sqlcipher in Debian, I discovered that several times between the current Debian release 3.4.1 and the latest version 4.5.5 backwards compatibility was broken without changing the SONAME.

To update the SONAME, the -version-info "8:6:8" statement in Makefile.in need to be updated, and the diff between the first and third number need to increase. At the moment the SONAME version is 8-8=0, while in the new version in Debian I plan to move to 9:6:8 to get 9-8=1.

https://tracker.debian.org/sqlcipher

@sjlombardo
Copy link
Member

Hello @petterreinholdtsen - you mentioned changes between 3.4.1 and 4.5.5 that affected backwards compatibility, could you provide some more details on what those changes were? We have historically inherited the version-info tag from SQLite, since it defines the public API.

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Nov 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants