#446 closed enhancement (fixed)
Add SOVERSION support to CMake configuration
Reported by: | mloskot | Owned by: | mloskot |
---|---|---|---|
Priority: | major | Milestone: | 3.3.9 |
Component: | Build/Install (cmake) | Version: | main |
Severity: | Significant | Keywords: | soversion, cmake |
Cc: | history |
Description
This task is about implementing complete support for SOVERSION on Unix platforms in CMake configuration.
This task is also related to #385
Change History (14)
comment:1 by , 13 years ago
Milestone: | → GEOS Future |
---|
comment:2 by , 12 years ago
Status: | new → assigned |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 12 years ago
Cc: | added |
---|---|
Milestone: | GEOS Future → 3.4.0 |
any chance to see this backported to the 3.3 branch ?
comment:5 by , 12 years ago
as a reminder: we need to add a note in the NEWS file for this, either in 3.3 branch (if we backport) or in trunk.
follow-up: 7 comment:6 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
btw, is that SOVERSION really correct ? The SONAME of the CAPI library should be "libgeos_c.so.1", this is from first release of it up to current trunk.
I didn't test but reading the code in r3683 it sounds suspicius (interface current/age/revision would be very high numbers...)
comment:7 by , 12 years ago
Replying to strk:
btw, is that SOVERSION really correct?
I simply set it with -version-info
from Makefile.am:27:
-version-info @CAPI_INTERFACE_CURRENT@:@CAPI_INTERFACE_REVISION@:@CAPI_INTERFACE_AGE@ \
What is the raw value of SOVERSION?
comment:8 by , 12 years ago
readelf -a libgeos_c.so | grep SONAME
raw value is computed by libtool based on system (-version-info is a libtool switch). On Linux it'll be (current-age), which in this case is 1
comment:9 by , 12 years ago
r3692 - Fixed incorrect SOVERSION value. The SOVERSION is now set with CAPI_VERSION_CURRENT - CAPI_VERSION_AGE
Does it look OK and can I port it to branches/3.3?
comment:10 by , 12 years ago
Looks good to me, feel free to backport (and update the NEWS file accordingly)
follow-up: 13 comment:12 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
r9698 - Merged recent fixes from trunk. Updated version numbers according to configure.in.
comment:13 by , 12 years ago
comment:14 by , 11 years ago
Milestone: | 3.4.0 → 3.3.9 |
---|
r3683 - Set SOVERSION property on C API shared library using CAPI_INTERFACE_* values