-
Notifications
You must be signed in to change notification settings - Fork 259
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
VERSION vs. SOVERSION #42
Comments
On 3/20/14, 6:27 AM, Nico Schlömer wrote:
SOVERSION typically acts to indicate API compatibility; if a software That said, I'm not sure why the SOVERSION is 7.x while the netcdf -Ward |
Indeed! |
There's no need to keep the shared-object version and the package version in sync. We try to follow the guidelines here: http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html
I think the reason our major soversion is 7 is due to adding and fixing several interfaces in the C API early in the development of netCDF-4. |
There is no need of course, the current state is absolutely lega; it wiykd just make things more obvious. After all, a user of netCDF is not so much interested if the release version is 3.6 or 4.1, it's really the A{B,P}I version (aka the "interface number") that is important (currently 7.2.0). Without a connection between them, the release version is really just a vague indicator of "progress" (which may or may not be the case for netCDF right now). Anyways, this just struck me as an oddity of netCDF. |
I'm going to close this out but am leaving a bookmark to it as an issue to consider in the future. There is no immediate move to the change Nico has suggested, but it is something to keep in mind as we move forward. |
This is more of a request for clarification.
In a typical unix project, versioning works such that the major revision number indicates the A{B,P}I level of the library, and consequently works as SOVERSION. When looking into
/usr/lib/
, you will find almost exclusively the scheme(I have no idea what "pathplan" is, it merely serves as an example here.)
For netCDF, things appear to work a little differently. The software version will soon be 4.3.2, and the SOVERSION is set to 7.2.0. Is that by mistake, for historical reasons, and are there plans to go with the mainstream flow?
The text was updated successfully, but these errors were encountered: