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

release version confusion #172

Closed
acbits opened this issue Nov 2, 2021 · 5 comments
Closed

release version confusion #172

acbits opened this issue Nov 2, 2021 · 5 comments

Comments

@acbits
Copy link

acbits commented Nov 2, 2021

The tag is 1.2.1, but the libmysofa.so built is actually libmysofa.so.1.1.0, and the deb package built is also named libmysofa-1.1.0-Linux.deb.

Was that intentional naming or a bug?

@hoene
Copy link
Owner

hoene commented Nov 2, 2021

it is a bug that will be fixed with 1.2.2

@acbits
Copy link
Author

acbits commented Nov 2, 2021

I am assuming that you would name the libmysofa.so version as 1.2.2 to match the tag?

@kwizart
Copy link
Contributor

kwizart commented Nov 4, 2021

SO version are usually unrelated to the package (or project) version.
Here are some answer: https://stackoverflow.com/questions/7553184/how-to-do-versioning-of-shared-library

That been said, it can be an indication. (say if libmysofa 2.x is introduced breaking ABI with libmysofa.so.1)

@acbits
Copy link
Author

acbits commented Nov 4, 2021

True, but many packages follow a convention of stamping the release version onto the shared files. I think glibc does it that way as it is easier to track what release a library belongs to.

@umlaeute
Copy link
Collaborator

umlaeute commented Nov 4, 2021

i think it's the other way round (or at least should be): many packages follow the convention of semantic versioning for the package version, even though strictly speaking it is only required of the soname version.

hoene added a commit that referenced this issue Nov 7, 2021
@hoene hoene mentioned this issue Nov 7, 2021
@hoene hoene closed this as completed Nov 7, 2021
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

4 participants