Opened 15 years ago
Closed 15 years ago
#19 closed defect (fixed)
Issues with libgeotiff versioning for 1.3.0
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | libgeotiff | Version: | |
Keywords: | version | Cc: | hobu |
Description
In libgeotiff 1.2.5 and earlier the library .so name on linux/unix was just based on release version so we had stuff like:
lrwxrwxrwx 1 warmerda warmerda 19 2009-10-08 09:42 libgeotiff.so -> libgeotiff.so.1.2.5 -rwxr-xr-x 1 warmerda warmerda 334264 2009-10-08 09:42 libgeotiff.so.1.2.5
But in trunk we have upgraded to automake/libtool/etc and so we use -version-info when linking and try to follow the libtool versioning recommendations. However, initially a setting of 1:2:0 was incorporated based on a copy from liblas without further consideration. The issue is what is an appropriate setting to use for the 1.3.0 release.
I think one consideration is how packages like debian and perhaps redhat were patching the versioning for their releases - I'm not sure how that was handled.
Advice? I'm making resolution of this a 1.3.0 blocker.
Change History (3)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
comment:2 by , 15 years ago
I would add that current SONAME is libgeotiff.so.1.2, so any choice different from 1:2:x would violate the previous soname and require a rebuild for applications. If you would adopt now the standard libtool versioning, I would use 2:0:0, with usual libgeotiff.so.2 for its SONAME.
Of course you could still maintain the old choice and use 1:2:6 for v1.3.0 with the same old soname. The versioning changing could be delayed until necessary for future true API changes. Definitively your choice. What I would avoid is 1:3:0 with libgeotiff.so.1.3 because they give the same result of 2:0:0 (soname change) without benefit for versioning standardization. You could also use a libgeotiff.so.1 SONAME with 1:3:0, but that would require rebuilds anyway.
comment:3 by , 15 years ago
Keywords: | version added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
As noted in http://trac.osgeo.org/gdal/ticket/3309 there has been an abi change in 1.3.0, so I have set the version information to 2:0:0 to reflect this. Change applied in trunk (r1730).
On behalf of the Debian packaging Francesco writes: