Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 CMake build, SOVERSION issue

Unstable (example)
open
nobody
cmake (1)
5
2013-06-01
2013-06-01
Václav Zeman
No

The CMake build system produces log4cplus.so.SOVERSION file for me on Ubuntu. One way to fix this is the attached patch. The patch simply mirrors the version into SOVERSION. Whether or not the patch is correct depends on what do you want to have in the SOVERSION. I personally like the following schema (from Libtool) better:

# +1 . ? . +1  == new interface that does not break old one
# +1 . ? . 0   == new interface that breaks old one
#  ? . ? . 0   == no new interfaces, but breaks apps
#  ? .+1 . ?   == just some internal changes, nothing breaks but might work
#                 better
# CURRENT.REVISION.AGE
1 Attachments

Discussion